Crossing the Dateline

We have a need to store and manipulate spatial objects that span the +/-180 degree meridian.
When geographic coordinates are used, all the internal calculations seem to avoid crossing this line.
For example
A "square" defines by (+179,-1),(+179,+1),(-179,+1),(-179,-1) has an area of 716 square degrees not 4 square degrees
Similarly a line between (+179,+1) and (-179,+1) is 358 degrees long not 2 degrees.
The database allows the insertion of a polygon (+179,-1),(+179,+1),(+181,+1),(+181,-1) but will not allow area or length calculations and fails with "ORA-13050: unable to construct spatial object"
If the coordinates are transformed to a grid projection then the geometry takes on its intended form and the units are metres. However the objects that we need to create are very large and the most appropriate format for storage is geographical coordinates.
Are there any conventions or flags or recommended techniques that we can use that could let a geometry object know that it crosses the 180 degree meridian?
Are there plans for incorporating spherical trig functionality or geodetic calculations like great circle distances, geodesics etc?
Thanks and Regards
Peter Cohen

Release 9i of Oracle Spatial will contain full support for geodetic computational geometry on the earth's surface. This means lengths of geodesic arcs, areas of spherical polygons, and a curved surface version of the RELATE operator will all be available.
In the older versions, where geodetic longitude and latitude were treated like cartesian coordinates, incorrect and in some cases, meaningless results are returned. After all the concept of "square degrees" means nothing proper, is not defined at the poles, and has a varying scale at different latitudes.
There is a 9i beta version currently available that already will permit proper computations for your large geodetic geometries.

Similar Messages

  • SSRS Maps - Display data that crosses international dateline without spanning half the world

    G'day,
    I'm hoping someone here can help me out - I've tried a bunch of thing and can't seem to crack this one.
    Basically I have a collection of position data (w.r.t. WGS84) provided by an aircraft local to my area (Auckland, New Zealand). Occasionally when the aircraft flies off to the east this position data crosses the international date line -
    so Point 1 at say -36° Latitude, -179.9° Longitude,
    and Point 2 at say -36° Latitude, +179.9° Longitude.
    The issue I'm having is when I attempt to display this data superimposed on a map in SSRS the viewport zooms right out to show the entire southern hemisphere.
    On the extreme left I have 180° Longitude, in the center of the viewport is 0° Longitude, continuing through to -180° Longitude on the extreme right. From left to right my map layer displays South America, Southern Africa, Australia and New Zealand. 
    Needless to say the data I was attempting to display is invisible at this scale - however I'm assuming there are some points on the extreme left and some on the extreme right (with a lot of nothing in the middle).
    What I need is some trick I can apply to center the map layer projection over New Zealand so that my report doesn't freak out every time the data spans over the date line.
    Any suggestions around how to achieve this with SQL Server/SSRS? Many thanks for your help :)

    Hi Moshifish,
    According to your description, you want to show position data which acrossing international dataline without switching each half world. Right?
    In Reporting Services, since maps is based on the Bing map background, it's not a tellurian model. So the only thing we can do is split the data into two parts along the international data line. This is the default render behavior of SSRS map. 
    For this kind of issue, we suggest you submit it to the Microsoft Connect at this link
    https://connect.microsoft.com/SQLServer/Feedback.
    This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft to interact with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you
    can learn more about and contribute to the exciting projects on Microsoft Connect.
    Reference:
    Maps (Report Builder and SSRS)
    "Best Practices" when spanning International dateline?
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Topology Topomap Across the Dateline

    Hi Spatial Topology Users,
    Can an explicit topomap cross the international dateline? On the load_topomap call I'm getting the error "ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.topo.TopoDataException: invalid window specification" whenever I use an Xmin that's greater than the Xmax.
    I see from searching the forum that pre-9i data had to be broken at the dateline - maybe topology is still back in this situation?
    I'm getting these results on 11.2.0.2 and 10.2.0.4.
    Thanks
    Matt
    begin
       --TIDY on rerun
       begin
          SDO_TOPO_MAP.DROP_TOPO_MAP('MYTOPO_TOPOMAP');
       exception
       when others then null;
       end;
       begin
          SDO_TOPO.DROP_TOPOLOGY('MYTOPO');
       exception
       when others then null;
       end;
       --create topo
       SDO_TOPO.create_topology('MYTOPO',.05,8265,NULL,NULL,NULL,NULL,16);
       SDO_TOPO.INITIALIZE_METADATA('MYTOPO');
       execute immediate 'insert into MYTOPO_face$ values (-1, NULL, sdo_list_type(), sdo_list_type(), NULL)';
       commit;
       SDO_TOPO_MAP.CREATE_TOPO_MAP('MYTOPO','MYTOPO_TOPOMAP');
       --From the documentation on optimized geodetic rectangles
       --The lower-left Y coordinate (minY) must be less than the upper-right Y coordinate (maxY).
       --If the lower-left X coordinate (minX) is greater than the upper-right X coordinate (maxX),
       --the window is assumed to cross the date line meridian 
       --(10,0, -110,20) crosses the date line meridian and goes most of the way around the world, and goes from the equator to latitude 20.
       --ERROR-------
       SDO_TOPO_MAP.LOAD_TOPO_MAP('MYTOPO_TOPOMAP', 10, 0, -110, 20, 'TRUE');
       --ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.topo.TopoDataException: invalid window specification
       --ORA-06512: at "MDSYS.SDO_TOPO_MAP", line 65
       --ORA-06512: at line 30
    end;

    Hi,
    Here is the link for all Search cmdlet in SharePoint server 2010:
    http://technet.microsoft.com/en-us/library/ee906563(v=office.14).aspx
    If you would like to get search configuration via powershell, refer to:
    http://blogs.technet.com/b/patrick_heyde/archive/2009/12/07/sharepoint-2010-get-search-configuration-over-powershell.aspx
    To get crawl status, you could execute:
    Get-SPEnterpriseSearchCrawlContentSource –SearchApplication yourSSA
    For more detail information, add |fl to the end of the command above.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • I am trying to make a trend line that crosses the origin (0,0)

    I am in a Chemistry class and we are doing a density lab. For this, we have to make a trendline, along with an equation. Now I want the trendline to cross the origin because with density, you do have the point that zero mass has a zero density. We were told by our teacher that our equation should cross at the point (0,0). Also, I tried making a point (0,0) in my table, but it still left me with a y-intercept for the best fit line (it had a b, in the y=mx+b)
    How can I make the trendline intersect the origin and make the equation without a y-intercept. PLEASE HELP

    Use the LINEST function:
    LINES (known-y-values, known-x-values, nonzero-y-intercept, more-stats)
    nonzero-y-intercept: 
    An optional value specifying how the y intercept (constant b) should be calculated.
    normal (1, TRUE, or omitted):  The value of the y intercept (constant b) should be calculated normally.
    force 0 value (0, FALSE):  The value of the y intercept (constant b) should be forced to be 0.
    Details in the iWork Formulas and Functions User Guide, which may be downloaded via the Help menu in Numbers '09.
    You will need a column on your table to hold the calculated values if you want to show the line on your graph.
    Regards,
    Barry

  • In original Budget crossing the limit for a particular order no error procd

    Hi
    In budget where the amount exceeds the original budget without showing any error message for budget exceeding. for example order no:xxxx amt 100000 and posting amt 200000 without error system proceeding. But generally system don't allow if we crossing the limit for a budget. here there is no error. I have to make it to appear error. Any solution is to rectify..
    Thank u

    Ya I am using Transaction group ++ and i am not using any exempt cost element. In quality its working if budget exceeding its showing error properly not alowing to post. Bust in production its not showing any if budget crossed limit allocation.
    Its showing in ko23 : eg Budget 2012:23000, Current budget 2012:23000, Assigned 25000
    I dont know why its like that in production. Please give me any idea whether any problem in order
    But its working good in quality not in production. I checked starting to end all configuration.
    Please give all idea as soon as possible.

  • Error with SDO_MBR when crossing the antimeridian

    Hello All,
    we're using Oracle Spatial 11.2 and I notice a strange behavior when calculating the MBR of a multipart line which crosses the antimeridian.
    //fails if multipart line and crosses the antimeridian
    select SDO_UTIL.TO_WKTGEOMETRY(
      SDO_GEOM.SDO_MBR(
        MDSYS.SDO_GEOMETRY('MULTILINESTRING((178 0, 179.99 1), (-179.99 1, -178 2))',8307)
    ) from dual;
    //returns POLYGON ((-179.99 0.0, 179.99 0.0, 179.99 2.0, -179.99 2.0, -179.99 0.0)) which is incorrect
    //succeeds if simple line and crosses the antimeridian
    select SDO_UTIL.TO_WKTGEOMETRY(
      SDO_GEOM.SDO_MBR(
        MDSYS.SDO_GEOMETRY('LINESTRING(178 0, 179.99 1, -179.99 1, -178 2)',8307)
    ) from dual;
    //returns POLYGON ((178.0 0.0, -178.0 0.0, -178.0 2.0, 178.0 2.0, 178.0 0.0)) which is correct
    //succeeds if multipart line and does not cross the antimeridian
    select SDO_UTIL.TO_WKTGEOMETRY(
        SDO_GEOM.SDO_MBR(
        MDSYS.SDO_GEOMETRY('MULTILINESTRING((-170 0, -160 1), (-150 1, -140 2))', 8307))
    ) from dual;
    // returns POLYGON ((-170.0 0.0, -140.0 0.0, -140.0 2.0, -170.0 2.0, -170.0 0.0))
    Any ideas?
    Thanks!
    --john

    When the geometry crosses the antimeridian, the MBR is not well defined.
    In such cases, we make the best possible guess about where the geometry is crossing the meridian line.
    In the case of your multi-line, the line does not really cross the meridian line. It has two line segments that are on either
    side of the meridian line. So the MBR returned by Spatial is a valid result for this case.
    If the line actually crosses the meridian, we know it is supposed to cross the meridian and the expected result is returned.
    siva

  • Origin of Means of Transport when Crossing the Border

    Hello all
    When I create a purchase order (ME22n) I got a error that I have to fill this field
    Header => Import=> Handling  =>  Mns of trsp - border   (Field = EIKP-STGBE)
    Origin of Means of Transport when Crossing the Border ?
    Normally I don't have to fill it, but why now?
    And what country I have to add there?
    Best regards Tuomo

    Have you checked the incompletion procedure of the country/area you're importing from? You can do that in transaction VI29.

  • Crossing the XMLSchema tree ?

    Hi all,
    I parsed a XSD document and obtained an XMLSchema. I'm now trying to cross the tree, but I can't manage to do it. I use the following code to obtain the root element of the schema:
    XMLSchemaNode sch = schemadoc.getSchemaByTargetNS(schemadoc.getSchemaTargetNS());
    XSDNode[] nodes = sch.getElementSet();
    XSDElement root = (XSDElement)nodes[0];
    Now I can do a root.getName() and I get the good response. I suppose that I should use the getChildElements() to get all the direct children of the root, but I get an NullPointerException when I call root.getChildElements():
    Exception in thread "main" java.lang.NullPointerException
    at oracle.xml.parser.schema.XSDElement.getChildElements(XSDElement.java:288)
    at XSDSetSchema.main(XSDSetSchema.java:34)
    What am I doing wrong here? Am I supposed to cross the Schema tree using the getChildElements method on every node, or something else?
    I've been looking trough this forum and other places for some time now, but I couldn't find any useful explications or examples on the use of XSDNode class and it's descendants. Any hint or link would be really usefull.
    Thanks in advance!

    First, thanks for the reply. But still, I don't really see why the element I accessed doesn't have any children... Could you please tell me what am I doing wrong here? Little example:
    I have a XML file with the schema description:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="root">
    <xs:complexType>
    <xs:all>
    <xs:element name="node">
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    Now I get the root element using the following code:
    XMLSchemaNode sch = schemadoc.getSchemaByTargetNS(schemadoc.getSchemaTargetNS());
    XSDNode[] nodes = sch.getElementSet();
    XSDElement root = (XSDElement)nodes[0];
    The call of root.getChildElements() brings the NullPointerException, but there's the "node" element under the "root" element. I don't see another method in the javadoc for the XSDElement that could return the "node" element, so how do I access it?
    Thanks again.

  • To transfer the data Cross the systems why we are not using BAPI Method?

    Hello All,
    To transfer the data Cross the systems why we are not using BAPI Method? why we are using only ALE/IDoc's?

    Hi Naveen,
       Listing down those I know -
       1. Master data is expected to be changed/created less frequestly.
       2. Transactional data is expected to be chnaged/created more frequestly.
       3. Transactions to create/change/display master data do no have message control integration, since you are not supposed to print/fax/mail master data to your partners.
       4. Distribution of master data in generally supposed to happen within Enterprise boundry and typically you will have one central server maintaining master data which will be distributed to multiple downstream operation system (Some thing where MDM fits). So ideally when distributing master data using ALE you will be sending it to multiple systems.
       5. Distributing transactional data PO/SO etc is same as sending fax/print which fits with the requirement of message control.
    Hope this helps,
    Regards,
    Sanjeev

  • Out put crosses the width list

    Hi,
    i am concatenating some text with user input company codes, i declared LINE-SIZE is 132.
    suppose if user inputs 200 company codes,it crosses the width of report output list,but it is not displaying in second line also.why it is happening,what is the approach to come out of this..

    Hi sekhar manda,
      Change the line-size 255 line-count 36.
      And see wht is gona happen.
    Regards,
    Suneel G

  • Approach when the used Live cache data area crosses the threshold

    Hi,
    Could any of you please let me know the detailed approach when the used Live cache data area crosses the threshold in APO system?
    The approach I have as of now is :
    1) When it is identified that data cache usage is nearly 100%, check for hit rate for OMS data in data cache in LC10 .Because generally hit rate for OMS data in data cache should be atleaset 99.8% and Data Cache usage should be well below 100%.
    2) To monitor unsuccessful accesses to data cache choose refresh and compare value now and before unsuccessful accesses result in physical disk I/O and should generally be avoided.
    3) The number of OMS data pages (OMS Data) should be much higher than the number of OMS history pages (History/Undo).A ratio of 4:1 is desirable. If OMS history has nearly the same size as OMS data, use Problem AnalysisPerformanceOMS versions to find out if named consistent views (Versions) are open for a long time. Maximum age should be 8hrs.
    4)If consumption of OMS heap and data cache is large, one reason may be a long running transaction simulation that accumulates heap memory and prevents the garbage collector from releasing old object images.
    5) To display existing transactional simulations in LC10,use Problem AnalysisPerformanceOMS versions and SM04 to find out user of corresponding transaction and may be required to cancel the session after contacting user if the version open for long time..
    Please help me by providing additional information on the issue.
    Thanks,
    Varada Reddy.

    Hi Mayank, sorry, one basic question - are you using some selection criteria during extraction? If yes, then try extraction without the selection criteria.
    If you maintain selection based on, let's say, material, you need to use the right number of zeros as prefix (based on how you have defined the characteristic for material) otherwise no records would be selected.
    Is this relevant in your case?
    One more option is to try to repair teh datasource. In the planning area, go to extraction tools, select the datasource, and then choose the option of repair datasource.
    If you need more info, pls let me know.
    - Pawan

  • Exchange 2010 DAG Replication - too much data crossing the wire

    I’m replicating 3 Exchange databases from our production active Exchange 2010 server across the WAN to another passive Exchange 2010 server at our DR site. 
    The Exchange server at the DR site does not have any active databases, i.e. no users are hitting that server. 
    We are running Update Rollup 8 for Exchange Server 2010 SP1 on both these servers. 
    The two sites are connected via a 10Mb/s MPLS connection and all the databases are in sync and the replication is working fine. 
    I have setup a network sniffer at the primary site and see a sizable amount of data crossing the wire from the production Exchange server to the DR Exchange server. 
    When I query the production Exchange server using the Tracking Log explorer and only choose the EventID ‘RECEIVED’ that should show me the amount of data that has been committed to the database. 
    If I choose a date range that is the same exact range that I have used to capture the raw data with my sniffer the amount of data the sniffer shows crossing the wire is 10 fold compared to what the Tracking Log Explorer shows. 
    If I actually count up the data in the LOG files it is about 20% more than what is crossing the wire but that seems to be because the DAG is compressing the data. 
    If in a one hour timeframe there is 500MB of data crossing the wire to the DR Exchange server the tracking log explorer will show only 50MB. 
    I would like to know why the data crossing the wire far exceeds the amount of data that is truly being sent/received from the primary exchange server. 
    Perhaps I’m simply not getting a true view of the amount of data being committed to the exchange server using the Tracking Log Explorer. 
    Maybe there is a better way to report how much data is being committed to the exchange databases. 
    Any assistance would be appreciated…

    Two things.
    1 - you must update Exchange to SP3 and a recent RU.  Willard has already provided the links, which point back to my blog if you want to see the lifecycle map for Exchange 2010.  SP1 has been out of support since January 2013.  Time to move
    on pllease
    2 - Looking at the tracking log is not sufficient.  I would not expect that to show everything.
    I want to know what traffic you see as excessive.  What ports are you seeing used here?
    My money is on content indexing.  CI will use additional traffic over and above log repl traffic.  Expect CI traffic to be roughly the same again.  You can test this by disabling CI on the database or stopping the services on the DR server. 
    To disable the CI for the database:
    Set-MailboxDatabase DBName -indexEnabled $False
    Or stop the Exchange search services on the DR box to leave production unaffected.
    Again - you need to update Exchange.  You would be better to do that now rather than when something breaks and Microsoft support cannot fully assist you since you are not uptodate.    I'll leave discussion of the security issues resolved
    in recent Exchange RUs aside. 
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • URL length has crossed the limit of 1800 Character Size

    a)How to Confirm if Department User request were hitting Oracle Application Server HTTP Protocol or not and URL length has crossed the limit of 1800 Character Size

    My Question is if URL length has crossed the limit of 1800 Character Size will Department User request will hit Oracle Application Server HTTP Protocol or not .If yes how to check that if not then how to verify that.

  • Detailed approach when the used Live cache data area crosses the threshold

    Hi,
    Could any of you please let me know the detailed approach when the used Live cache data area crosses the threshold in APO system?
    The approach I have as of now is :
    1) When it is identified that data cache usage is nearly 100%, check for hit rate for OMS data in data cache in LC10 .Because generally hit rate for OMS data in data cache should be atleaset 99.8% and Data Cache usage should be well below 100%.
    2) To monitor unsuccessful accesses to data cache choose refresh and compare value now and before unsuccessful accesses result in physical disk I/O and should generally be avoided.
    3) The number of OMS data pages (OMS Data) should be much higher than the number of OMS history pages (History/Undo).A ratio of 4:1 is desirable. If OMS history has nearly the same size as OMS data, use Problem AnalysisPerformanceOMS versions to find out if named consistent views (Versions) are open for a long time. Maximum age should be 8hrs.
    4)If consumption of OMS heap and data cache is large, one reason may be a long running transaction simulation that accumulates heap memory and prevents the garbage collector from releasing old object images.
    5) To display existing transactional simulations in LC10,use Problem AnalysisPerformanceOMS versions and SM04 to find out user of corresponding transaction and may be required to cancel the session after contacting user if the version open for long time..
    Please help me by providing additional information on the issue.
    Thanks,
    Varada Reddy.

    Hi Mayank, sorry, one basic question - are you using some selection criteria during extraction? If yes, then try extraction without the selection criteria.
    If you maintain selection based on, let's say, material, you need to use the right number of zeros as prefix (based on how you have defined the characteristic for material) otherwise no records would be selected.
    Is this relevant in your case?
    One more option is to try to repair teh datasource. In the planning area, go to extraction tools, select the datasource, and then choose the option of repair datasource.
    If you need more info, pls let me know.
    - Pawan

  • Who got this brilliant idea when you want to pick up a contact to first cross the group and then click end ? Did you hire an employee  from Microsoft ? Apple MUST remain SIMPLE to use !!!

    Who got this brilliant idea and change thing that way :  when you want to pick up a contact on your iphone, you first have to cross the group and then click end ? Did you hire an employee from Microsoft ? Apple MUST remain SIMPLE to use !!!

    Claudius,either you didn't read my post, or you jumped to conclusions. I had a skype account that was created using a microsoft account (NOT THE ACCOUNT I AM USING NOW). PURE MICROSOFT ACCOUNT NO OTHER ACCOUNT LINKING.I had to change the primary mail of that account.I was told "no can do" by skype support.I found that if I went to account settings and clicked on the link on the line below the one that said "MICROSOFT etc" (labeled something along the lines of "TV or Device") I got the opportunity to set the password of the "live:username" account (WHICH YOU COINCIDENTALLY HAVE TO DO IF YOU WANT TO USE SMART TVs ETC).Once that was done, I COULD SUCCESSFULLY DO WHAT SKYPE SUPPORT SAID WAS IMPOSSIBLE- I could change the primary mail address. once that was done, and NOT BEFORE, I linked the account to a facebook account as well, just to be sure I have more than one way to access the skype account. What caused you to get the impression that I was writing something else? furthermore this sentence - "The solution you described in your initial message isn't actually once since all the time you were operating on different account that weren't actually linked" does not make sense, I think you mis-edited it.and I need to point out that you are incorrect. I WAS NOT OPERATING ON DIFFERENT ACCOUNTS I WAS OPERATING ON ONE SKYPE ACCOUNT, THAT WAS CREATED USING A MICROSOFT ACCOUNT just like you say you recommend. I still don't know how you can misread my initial entry like that.  If you have a better solution to my initial problem - changing the primary mail of a skype account created throuth either a microsoft account or a facebook account, Please write a sticky to explain how to do it, and please inform skype support that Yes it can be done, and this is the way it is done. So far my "lucky shot" seems to be the only way to do it.     

Maybe you are looking for