FOI marker trimmed when using oriented point geometry

Greetings,
I am trying to rotate a FOI polygon marker using oriented point geometry. While the angle of the marker (hollow arrow) is rendered properly in Oracle Maps, the size of the actual marker image shipped to the browser is always constant in size and does not account for the potential increase in image dimensions due to rotation. So, the image always is clipped at the corners, if rotation swings a portion of it outside the static image dimensions. The best way to replicate this behavior is by using a simple square marker on any rotated point geometry: the corners of the square get clipped.
I appreciate any advice on how to solve or work around this.
Regards,
-Simon

Joao,
Thanks for your reply. I found that all types of markers, including images and TTF symbols get clipped. The only way that seems to work buffering an image marker symbol by empty pixels in order to provision space for its rotation.
Regards,
-Simon

Similar Messages

  • Motion 3 crashes when using Track Points. (Add Behavior/Shape/Track Points)

    Please Help!!
    Motion 3 crashes when using Track Points.
    First I make a shape and apply the behavior.
    Clicking analyse shows its renderbar, but stops and motion crashes.
    Thank you.
    Huig
    Mac Pro/2.66 Ghz/3Gig/Aty Radeon X1900   Mac OS X (10.4.9)  
    Mac Pro/2.66 Ghz/3Gig/Aty Radeon X1900   Mac OS X (10.4.9)  

    Robert Kleindienst1 wrote:
    I have two objects moving in a video and want to attach a line shape between them....
    Have a look:
    two circles, a 'dot' applied to each, the dots are moved by a behavior to rotate....
    The line connecting them. is a bezier
    no Motion Tracking needed
    Just dragging the dot into the TrackPoint's dwell
    And:
    Select which points are tracked - see the red arrows:

  • Value of oriented point geometry into SDO_ETYPE

    Hello! I have this problem:
    I tried to insert an oriented point geometry.
    This coordinates (x,y,z) identifies the point (A ) that I want to place.
    580117.84, 4998489.37, 0
    This coordinates (x,y,z) identifies the coordinates of the end point (B) where is orientated the vector
    580121.56, 4998490.93, 0
    I have read the instruction http://download.oracle.com/docs/html/B14255_01/sdo_objrelschema.htm#CBBIAGFJ
    and I have create this query
    INSERT INTO TABLE_A
    VALUES
    SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1, 4, 1, 0),
    SDO_ORDINATE_ARRAY(580082.54, 4998456.45, 0, 580080.6, 4998496.5, 0))
    SDO_ORDINATE_ARRAY(580117.84, 4998489.37 , 0, 3.72, 1.56 , 0 )),
    If I make a select row of TABLE_A right for to see SDO_GEOMETRY I find:
    GEOMETRY1(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1, 4, 1, 0),
    SDO_ORDINATE_ARRAY(580117,84, 4998489,37, 0, 3,72, 1,56, 0))
    I work with Geomedia intergraph and if I rotate or spin the symbol at the point and then I do again the same select
    the result is:
    GEOMETRY1(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 0, 6000, 4, 1, 1), SDO_ORD
    INATE_ARRAY(,598974545, -,80076807, 0, 580117,84, 4998489,37, 0))
    I don't understand what mean the number of SDO_ETYPE inside SDO_ELEM_INFO_ARRAY.
    also in SDO_ORDINATE_ARRAY this value identifies the orientation
    ,598974545, -,80076807, 0
    but I can't realize from where this numbers come out.
    Somebody can explain to me?
    Thanks in advance.
    Angelo!

    Excuse!
    I make a mistake the query is
    INSERT INTO TABLE_A
    VALUES
    SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1, 4, 1, 0),
    SDO_ORDINATE_ARRAY(580117.84, 4998489.37 , 0, 3.72, 1.56 , 0 )),
    and not
    //INSERT INTO TABLE_A
    // VALUES
    // SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1, 4, 1, 0),
    // SDO_ORDINATE_ARRAY(580082.54, 4998456.45, 0, 580080.6, 4998496.5, 0))
    // SDO_ORDINATE_ARRAY(580117.84, 4998489.37 , 0, 3.72, 1.56 , 0 )),
    I wait your news.

  • Using Oriented Point for from-to address ranges

    I am trying to use the oriented point functionality to place from and to address ranges on my map. I have a problem that for the Horizontal Align, when I set the From to "Start" and the To to "End", the connecting edges cause the numbers to overlap. (ie: edge 1's To overlaps edge 2's From)
    Has anyone gotten this to work correctly?
    I am using the 091229 build of Mapviewer 11.

    The problem you have with using AD accounts for 802.1x auth as well as Network admin is mapping the groups. You can't map groups based on service being requested so unless all your Network Team accounts map to the same group you would have used for 802.1x then you have a problem
    So the best option is probably to create seperate acccounts inside ACS for network admins, ( a shame I know since passwords will not be in step ).
    As for deployment docs there is a white paper I co-authored that describes how to get the most out of T+ Network Admin access.
    You can find it via Extraxi's web site
    http://www.extraxi.com/TDA.htm
    And Select the "Building Scalable T+ Device Mgmt link"

  • BEX64 - Why does CS4 stop working when using Vanishing Point?

    While using the Vanishing Point in CS4 64 bit, Photoshop shuts down when I attempt to move text or move a plane within a grid.
    Does anyone know how to stop the crashes?
    I am using a Toshiba PC, Windows 7, I7 processor and 4 gigs of memory.
    I have attempted to solve the problem by doing the following but they have not worked:
    I expanded Photoshops memory usage to 90%.
    I have updated all of the critical Windows 7 updates.
    I have updated Photoshop CSR to 11.0.2
    I have received different Problem Event Names.  They are:
    BEX64
    APPCRASH
    Details of my first BEX64 crash were:
    Application Name:  Photoshop.exe
    Application Timestamp: 48d38aa7
    Fault Module Name: image_flow.dll
    Fault Module Version: 1.0.0.1
      Exception Offset:           000000000001a06a
      Exception Code:             c0000409
      Exception Data:              0000000000000000
    1 OS Version:      6.1.7600.2.0.0.768.3
      Locale ID:           1033
    Additional Information 1:             10f0
      Additional Information 2:           10f0d4ac53e068c0db93784baaf90d6f
      Additional Information 3:           29f3
      Additional Information 4:           29f3a8d1a654618fbfcedb430e6c7a63plication: 11.0.0.0
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Driver Version: 8.16.11.8829
    Built-in memory: 4031 MB
    Free memory: 2072 MB
    Memory available to Photoshop: 3404 MB
    Memory used by Photoshop: 60 %
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 453.9G, 278.5G free
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS4 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Thanks in advance for any help you can offerBreeze 3

    Hello Dec9,
    Thanks for the response.
    I installed the 11.0.2 update and I still have teh BEX64 crash.  I have also tried starting PS CS4 and pressed Cntrl Shift & Alt at the same time.  It still crashes when I get to the point of moving text or a plane in a grid within Vanishing Point.
    I also backed off from 90% as you suggested.
    My latest problem details are as follows:
    Problem Event Name:                          BEX64
      Application Name:                             Photoshop.exe
      Application Version:                           11.0.2.0
      Application Timestamp:     4bf2d91c
    Fault Module Name:                            StackHash_56f5
      Fault Module Version:                        0.0.0.0
      Fault Module Timestamp:                  00000000
      Exception Offset:                                0000000000000000
      Exception Code:                                  c0000005
      Exception Data:                                   0000000000000008
      OS Version:                                          6.1.7600.2.0.0.768.3
      Locale ID:                                             1033
      Additional Information 1:                  56f5
      Additional Information 2:                  56f50057683cdbfd654c11c2adb3bbee
      Additional Information 3:                  11e5
      Additional Information 4:  11e55f3ceaa742af752d4088e4931316

  • When using field point I/O points i get error message

    when labview 1st loads and i open my FP vi which uses FP I/O points to specify the channels, they are all greyed out and the error "unable to bind to comm port" is returned. on running the program a second time, no errors are returned. also i cannot get an executable of the program to run without producing that error.
    Any ideas?

    Hi Stewbert,
    The "Unable to bind to COM port" error indicates that FieldPoint Explorer cannot use the specified COM port for communication. The two general cases that cause this error are that either the COM port is not configured properly or does not exist, or that the COM port is already in use by another program. To check the COM port and eliminate this error, follow the steps below.
    First, quit all other applications that may use the COM port. Note that the serial cradles for the popular Palm or Handspring Personal Digital Assistants (PDAs) can connect over a serial port, and therefore you may need to quit the "Hot-Sync Manager" program if your computer is configured to use a Palm.
    If closing all other programs that use the COM port does not elimin
    ate the error, then next check that the COM port is configured properly. From the Windows task bar, Select "Start >> Settings >> Control Panel >> System >> Device Manager >> Ports". Confirm that the COM port you have specified is in the list, and that Windows indicates that "the device is working properly". Additionally, if the COM port has been added through additional hardware, then use any available diagnostic utility that may have come with the board to test the COM ports. For example, if the COM port is added through a NI-Serial board (PCI-232, etc), then selecting "Start >> Programs >> National Instruments >> NI-Serial >> Diagnostic" will run a diagnostic of those COM ports. Correct any problems that are found, and then continue with configuration in FieldPoint Explorer.
    Please let me know if that helps
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • ORA13226 when using view with geometry created using sdo_util.simplify

    I have a polygon table (and spatial index) using Ora11.1 that i can query such as:
    Select ID From MyTable A where (MDSYS.SDO_RELATE(A.GEOMETRY, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 3), SDO_ORDINATE_ARRAY(73.091805, 18.312310, 72.250051, 19.076872)), 'mask=INSIDE+COVEREDBY+EQUAL querytype=window') = 'TRUE');
    This query returns 2 rows. I have created a view:
    create or replace view v_MyTable as
    select id, sdo_util.simplify(geometry,20,2) as s_geometry
    from MyTable;
    The subsequent query returns ORA13226
    Select ID From v_MyTable A where (MDSYS.SDO_RELATE(A.S_GEOMETRY, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 3), SDO_ORDINATE_ARRAY(73.091805, 18.312310, 72.250051, 19.076872)), 'mask=INSIDE+COVEREDBY+EQUAL querytype=window') = 'TRUE');
    If I create a view which does not use the simplify function the query works.

    tcbalent,
    This is correct behaviour if you are trying the query the view:
    Select ID
      From V_MyTable A
    where (MDSYS.SDO_RELATE(A.GEOMETRY, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 3), SDO_ORDINATE_ARRAY(73.091805, 18.312310, 72.250051, 19.076872)), 'mask=INSIDE+COVEREDBY+EQUAL querytype=window') = 'TRUE');This is because the A.GEOMETRY is not the geometry in the original table (MyTable) but a programmatically
    constructed geometry on the fly which is not indexed.
    You can fix this with a function based index as follows (NOTE: This uses my own test data that is projected and not geodetic):
    DROP  table myTable;
    create table myTable
    as
    select rownum as Id, geom as geometry
    from  projpoly2d
    where polytype NOT IN ('COMPOUNDOUTERSHELL','VERTEXWITHARCNOHOLE');
    delete from user_sdo_geom_metadata where table_name = 'MYTABLE' and column_name = 'GEOMETRY'; commit;
    insert into user_sdo_geom_metadata(table_name, column_name,diminfo,srid)
    select 'MYTABLE','GEOMETRY',diminfo,srid
      from user_sdo_geom_metadata
    where table_name = 'PROJPOLY2D'
       and column_name = 'GEOM';
    commit;
    create or replace view v_MyTable
    as
    select id, sdo_util.simplify(geometry,20,2) as S_geometry
    from MyTable;
    -- Create index metadata
    delete from user_sdo_geom_metadata where table_name = 'MYTABLE' and column_name = 'MDSYS.SDO_UTIL.SIMPLIFY(GEOMETRY,20,2)'; commit;
    insert into user_sdo_geom_metadata(table_name, column_name,diminfo,srid)
    select 'MYTABLE','MDSYS.SDO_UTIL.SIMPLIFY(GEOMETRY,20,2)',diminfo,srid
      from user_sdo_geom_metadata
    where table_name = 'MYTABLE' and column_name = 'GEOMETRY';
    commit;
    select * from user_sdo_geom_metadata;
    -- Now create index
    drop   index MyTable_sgeometry_spdx;
    create index MyTable_sgeometry_spdx on MyTable(MDSYS.SDO_UTIL.SIMPLIFY(GEOMETRY,20,2))
         indextype is mdsys.spatial_index parameters('sdo_indx_dims=2, layer_gtype=polygon');
    Select ID
      From v_MyTable A
    where (MDSYS.SDO_RELATE(A.S_GEOMETRY,
                             MDSYS.SDO_GEOMETRY(2003, NULL, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3), MDSYS.SDO_ORDINATE_ARRAY(190000.0, 5120000.0, 640000.0, 5630000.0)),
                            'mask=INSIDE+COVEREDBY+EQUAL querytype=window') = 'TRUE');
    -- Result
    ID                    
    5                     
    1                     
    4                     
    2                     
    6If this fixes your problem please mark this thread as answered.
    regards
    Simon

  • When using my pointer and only to the left..the screens blinks..very annoying...how can I stop it?

    I play a game online and I move the mouse around quite a bit and this only happens when I turn the pointer towards the left...the screen starts to flicker...its very annoying...how do I stop this?

    You can try printing directly from the iPad with Airprint.
    If you don't have a compatible printer or want to keep printing from your computer, you'll have to change the font in the app you are printing from.

  • When I try to access a picture from i photo the picture will come up and then quickly the screen goes black and there is a white exclamation mark.  Also when using faces and scrolling down pictures some disappear very quickly after a brief look.

    When using i photo and trying to pull up individual photos - the photo will appear and quickly disappear only to be replaced by a black screen with a white explanation mark.  This happens with all of my photos.  Has anyone had this problem and if so what can be done to fix it.  I did not select this graphic to be added to my i photo pictures - the blace sign with the white explanation mark.  Also, when scrolling down photos in faces some of my pictures disappear after a quick view. 
    Thanks for any help you can provide.  It seems like something has gotten into my i photo picture account?

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    What version of iPhoto? Assuming 09 or later...
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • I have a problem when using Google Maps, at some point my computer blanks the window and says there's a problem with display drivers, and it has recovered,but it doesn't. Problem doesn't happen with Int Explorrer, so I do not believe it is the computer

    When using google maps through Firefox, after asking for a place which is not the general North America section which routinely comes up, the firefox screen goes white, with a narrow banner at the top. A message appears in the lower right corner which says something about display drivers having had a problem, but now have recovered. However the display doesn't recover and the banner message is that Firefox is not responding. When I go to restart Firefox if I go to the restore point, the page is still frozen out.
    I do not believe it is a problem with my computer because it doesn't happen if I use I.E. to go to google maps, then G-maps works normally.
    This phenomenon did not happen before the latest upgrade to either Google or Firefox. I have used Fiefox for a number of years and also Google Maps on previous computers and on this one, and not had this before.
    This is a relatively young computer (Asus EeSlate 121) less than a year old. I have used Firefox since I bought it and until recently had no problem with Google Maps.

    I solved it myself, after the "note" which came back from FF/Mozilla just as I finished my message, commenting on what it was that my system had , I wnnt back to check my plug-ins etc. I downloaded the latest Java, BOTH 32bit AND 64 bit versions and latest Firefox.
    Now all is working.
    Thanks,
    B.

  • How to include a KB Update into a WIM in order to point to the WIM when using DISM (details inside)?

    Hi, I was told in another of the forums that my issue
    is best suited for the TechNet audience.  Previously, I posted it here: http://answers.microsoft.com/en-us/windows/forum/windows8_1-system/how-to-include-a-kb-update-into-a-wim-in-order-to/e7015076-b4a9-4862-a73b-6c58b4c82461?tm=1409598696763
    I've been struggling to fix a corrupted file.  
    Context:  I feel that something is not right with the computer, so I started poking around.
    I used "sfc /scannow" from an elevated command prompt and the result was: 
    Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log <var style="border:0px;margin:0px;padding:0px;vertical-align:top;-webkit-font-smoothing:antialiased;">%WinDir%</var>\Logs\CBS\CBS.log.
    I looked in the log.  This message appears 4 times:
    Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate",
    TypeName neutral, PublicKey neutral in the store, hash mismatch
    There is also the following message:
    This component was referenced by [l:186{93}]"Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.INF_prncacla"
    I'm not positive what to do next, but I have been led to believe the problem is that Flash files in version 6.3.9600.16407 are corrupted, that I need to find which KB updates Flash to this version, download the file, add it to a new WIM, and point
    to it when using DISM.  I'm not positive this is correct, but it was suggested.
    I downloaded the KB update: kb2889543, but I do not know how to add it to a new WIM or what the repercussions of doing so will be (e.g. Will I lose everything and have to restore my documents, etc from my external drive by doing this?).  
    So, the question is: How can I include a KB Update into a WIM and tell me what the result will be when once I do and point to it when using DISM?
    Secondarily, if this is a bad way to move forward with the issue, would some kind soul offer sage advise on how to move forward with resolving the original issue?

    Hi TTQSTTQS,
    As you mentioned in the answers forum, when run  the command DISM /Online /Cleanup-Image /RestoreHealth,  we received the error message “The source files could not be downloaded. Use the "source" option to specify the
    location of the files that are required to restore the feature”.
    When run the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess, we met the same error message.
    I think there are some mistakes in the source setting, so we meet the same error messages.
    As I mentioned in the last reply, we need a mounted image as a repair source, and then use this path.
    We need to configure a Windows repair source. Please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825020.aspx
    Please refer to the following steps to set the source image.
    1. Assign Drive Letters to Partitions by Windows PE.
    2. Capture Partition Images using DISM
    For more information, please refer to the following article.
    http://technet.microsoft.com/en-us/library/hh825072.aspx
    Then, we could try the command Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Is it possible to flag e-mails and/or right click an e-mail to mark as read/unread, etc. when using Microsoft Outlook Web Access in Firefox on a Mac?

    Is it possible to flag e-mails and/or right click an e-mail to mark as read/unread, etc. when using Microsoft Outlook Web Access in Firefox on a Mac?
    == This happened ==
    Every time Firefox opened
    == I've never been able to figure out how to do those things in Firefox.

    When you use OWA in something other than IE, you're using OWA lite and no--it is not possible to do either in OWA lite (well, new Exchange stuff makes my answer a little less emphatic but still: pretty much no). Thanks Microsoft. But this guy made it possible to mark unread/read and select all/none:
    http://david-burger.blogspot.com/2008/07/firefox-greasemonkey-outlook-web-access_19.html

  • I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.

    I replaced the battery on my RAID card, when I booted my mac pro up, I get the folder with the question mark. I used a boot USB drive to boot and when I looked in the RAID utility, my RAID 5 volumes were no longer showing, advise.
    Ernest

    Not sure if I'm following you. I have 4 hard drives installed on my Mac Pro. I had a RAID 5 configured and functional for about 5 months. My battery died on the RAID card. I replaced the battery, seated the RAID card back in the slot I removed it from. When I booted to the USB drive to look in the RAID utility, I could see the battery is charged but my volumes are not showing.
    The drives don't show in disk Utility. I built the RAID with the RAID Utility and they did show there. I have a early 2008 Mac Pro, Mavricks OS running Mac Server

  • I have adobe acrobat 11 reader writer I want to use the pointer symbol on full screen instead of the hand, iwas able to do it on adobe 10 also when in full screen i can't open attachments unless i right click and open it then it boots me out of full scree

    I have adobe acrobat 11 reader writer I want to use the pointer symbol on full screen instead of the hand, iwas able to do it on adobe 10 also when in full screen i can't open attachments unless i right click and open it then it boots me out of full screen is there any way i can click on the attacment without going out of full screen

    I don't know why the change, but the pointer appears in the same way as it does on the main screen, not a pointer. There does not appear to be anyway to change it. You may want to submit a comment to the Features Requests: Acrobat Feature Requests. I also submitted this as a bug.
    As a clarification, your "adobe acrobat 11 reader writer" is not informative. There is Acrobat 11 and Reader 11. Writer is not a product as such. So you have referred to Acrobat in a contradictory manner. In the future, please just indicate Acrobat 11 or Adobe Acrobat 11.

  • Creating a point geometry with coordinate transformation using JDBC

    If I execute the following SQL statement using a tool such as TOAD then I get a correct value for the point in the oracle column.
    INSERT INTO node (id, position) VALUES (53, SDO_CS.TRANSFORM(SDO_GEOMETRY(2001, 26910, SDO_POINT_TYPE(489535.0, 5457841.0, NULL), NULL, NULL), 4269))
    Point geometry:
    (2001, 4269, (-123.143865452971, 49.2732377100255, ), , )
    If I execute the same statement using JDBC in a Statement or PreparedStatement the Point in the oracle column has 0,0 for the coordinates.
    Point: geometry
    (2001, 4269, (0, 0, ), , )
    In both cases the SQL is exactly the same.
    my JDBC code is
    String insertSql = "INSERT INTO node (id, position) VALUES (" + id
    + ", SDO_CS.TRANSFORM(SDO_GEOMETRY(2001, " + geometrySrid
    + ", SDO_POINT_TYPE(" + coordinate2d.x + ", " + coordinate2d.y
    + ", NULL), NULL, NULL), " + srid + "))";
    Statement insertStatement = connection.createStatement();
    try {
    insertStatement.execute(insertSql);
    } finally {
    JdbcUtils.closeStatement(insertStatement);
    connection.commit();
    Any ideas why this is happening?
    I've tried to do the coordinate transformation in a separate call and pass in the STRUCT returned from that, using JGeometry to create a STRUCT for the value, using a WKT geometry and none of these approaches seem to work

    Paul,
    I have seen this work using JGeometry and STRUCT objects with PreparedStatements. Here's some sample code that seems to work just fine:
    ResultSet rs = null;
    try {
    PreparedStatement ps =
    getConn().prepareStatement("select SDO_CS.TRANSFORM(?, ?) from dual");
    /* constucts JGeometry objects using simple points (doubles) and SRID
    * Per the Javadoc, JGeometry objects can be constructed using the same
    * notation and signature as SDO_GEOMETRY objects -
    * JGeometry(int gtype, int srid, double x, double y, double z, int[] elemInfo, double[] ordinates) */
    JGeometry j_geom1 = new JGeometry(-122.4, 37.8, 8265);
    int newSRID = 4269;
    //convert JGeometry instances to DB STRUCT
    STRUCT obj1 = JGeometry.store(j_geom1, getConn());
    ps.setObject(1, obj1);
    ps.setInt(2, newSRID);
    rs = ps.executeQuery();
    while (rs.next()) {
    //System.out.println(rs.getString(1));
    STRUCT st = (oracle.sql.STRUCT) rs.getObject(1);
    JGeometry j_geom = JGeometry.load(st);
    System.out.println(j_geom);
    ps.close();
    rs.close();
    conn.close();
    } catch (Exception e) {
    System.err.print(e);
    Hope this helps.
    -Justin

Maybe you are looking for

  • How to find my own property file in a war in soloaris

    Hi, there; I have a question whcih bothers me quite long. I packaged a property file in a war file and use console to uploaded. I can access to the servlet through browser and the servlet reference another class which looks like try { InputStream is

  • Screen flashing in Satellite L500D

    Welcome! I have a laptop Toshiba L500D. Since about two weeks something happens with my laptop. Laptop is on, and when I open the lid, or closed, the screen flashes, colors change, you can see the different stripes in black and white or color, genera

  • Sorting with nulls last on the fact column

    anybody tell me how to do the sorting with nulls last in the template? i can't change anything in data model or anywhere other than template. i did try to put the descending order,but null values are coming in between positive and negative values. <?

  • Xcode snapshots problems

    It seems in Xcode I'm at a point where the snapshots will no longer work for me. When I make a new snapshot, it always shows every file in the project in the "Files Added" category and there will not ever be files in the "Files Changed" category. Old

  • Need an idea of how to gather input in workflow

    Hi Folks, Any one with an easy ways to gather information in a WF so all people can see the info all along in the WF. Example: Person 1 enters info Person 2 enter additional info Person 3 display the info and do some stuff :o) Thanks in advance, Thom