Sdo_intersection across the antimeridian

Hello All,
I'm trying to create a function which splits geometries at the antimeridian, producing multipart geometries.  I'm approaching this using a sdo_intersection and a clipping geometry representing each of the hemispheres.  I'm confused about the behavior of sdo_geom.sdo_intersection though.  Why does the following not produce a box like 'POLYGON((-179.9 0, -170 0, -170 10, -179.9 10, -179.9 0))'
Thanks!
--john
  1  select sdo_util.to_wktgeometry(sdo_geom.sdo_intersection(
  2 MDSYS.SDO_GEOMETRY('POLYGON((170 0, -170 0, -170 10, 170 10, 170 0))', 8307),
  3 MDSYS.SDO_GEOMETRY(2003,8307,NULL, sdo_elem_info_array (1,1003,1), sdo_ordinate_array (-179.9, 89.9, -179.9, -89.9, -0.1, -89.9, -0.1, 89.9, -179.9, 89.9)),
  4 0.05
  5 )
  6* ) from dual

Hi John,
It would be helpful to mention the version of Oracle you are using.  But in any case the answer has less to do with the date line than with the size of your geodetic polygons. 
Here is the link for 11g with this caveat
http://docs.oracle.com/cd/B28359_01/appdev.111/b28400/sdo_cs_concepts.htm#SPATL624
The 12g blurb actually expands on things a bit
http://docs.oracle.com/cd/E16655_01/appdev.121/e17896/sdo_cs_concepts.htm#SPATL624
It's always nice to see the documentation getting a little better.
So you could break your polygons down into smaller pieces but I guess I wonder what you are up to with these globe spanning boxes.  Perhaps if you explained your use case other folks on the list could chime in with some suggestions.
Cheers,
Paul

Similar Messages

  • How do I remove side bar and go back to tabbed browsing across the top of the screen?

    I update firefox and was asked how I wanted tabs displayed. I orignally had new tabs opening across the top of the screen but changed a setting so they came up on the sidebar. I want to go back to tabs across the top of the screen but can't find how to do this.

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.1 r82
    # Next Generation Java Plug-in 1.6.0_14 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    Hello audreywisc,
    Songs can be removed from your iPhone by tapping 'Songs,' then swiping the song, then tapping Delete.
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide - Playlists
    http://help.apple.com/iphone/8/
    Cheers,
    Allen

  • I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  Help!

    I have a new iPhone 5S.  While trying to learn about it, I accidentally recorded a voice memo with no content.  I cannot now figure out how to get rid of it.  There is a banner across the top of my phone with this memo which I don't want.  I have deleted it from iTunes but cannot get it off the phone.  Help!

    The banner usually indicates that the memo is "Paused." If you go back into voice memos, touch the word "Done" beside the big red pause button, give it a name, then it will show in a list. Touch the memo in the list then touch the trash can icon that should appear.

  • "not responding" message across the top of mozilla several times a day and my entire computer lags when I receive that message.

    about two to three weeks ago mozilla started to lag on occasion with the "not responding" message across the top of the browser. it would freeze while i was playing facebook games or while i was watching youtube videos or just trying to scroll down a page, so i used my laptop less and less hoping the rest period would help stop it from lagging and from not responding. now that i have uninstalled useless programs and freed up hard drive space it is still lagging a lot. i even updated to 9.01 and updated the plug-ins that i use and it still lags.

    Have you recently upgraded is so i suggest you run it in safe mode first.
    Below is an example
    [[Safe Mode]]
    and make sure ya plugins aint out of date
    [https://support.mozilla.com/en-US/kb/Safe Mode Plugin Checker]

  • Sync files across the Managed Server.

    We have exploded war deployed in the Weblogic Cluster and in this there is a feature which would create a zip file in the exploded folder and this zip file will be downloaded through the URL. Now the problem in clustered environment is when the application write the zip file which will be available in only one of the managed server and when we try to download the zip file through the LoadBalancer URL it may not hit the same Managed Server in which the zip file is available.
    Is there a way in weblogic cluster to sync the files across all the managed server so that we can access the file through loadbalancer.

    Hi Suresh
    1. Your issue has nothing to do with the cluster setup and the way you deploy the application (as EAR or Exploded). Basically in your application, you generate a file and automatically that gets stored in that machines location. Now when you access it from a load balancer, the request may go to other machine and naturally it will not find the file there. There is nothing in the cluster setup or something that can copy the files and replicate acorss the machines. Infact that will be way too complex. I will couple of solutions.
    2. Create a shared folder like public folder. Say in Windows, create a folder with some folder structure and map it as say X: Drive. now this X Drive can be accessed from any other machine like Machine1, Machine2 (after setting the sharing properties). First try directly from Windows Explorer itself. Now within your application, when you generate and store the file, refer this X: Drive with full path. You can make it more flexible by using a .properties file that has key value pair. Key is like FILE_LOCATION and value can be like X:\a\b\c. Now using simple Java Properties class API to load the contents from this file. You can add all the constants, check for if .properties file exist like that. Once you have all the properties loaded, then refer this key, to get its value and use that to store the file generated. Use the same approach, while retrieving the file also. Use the key to get the location and then look for the file you want to download. This should work, when the request goes to any managed server in the cluster. I used it. I created a utility class like MyAppPropertiesLoader, with some static methods, that reads the file only once, if it is null, and then get values using simle methods like getString(String aKey), getLong(String aKey) etc. The huge BENEFIT of this is, once you deploy the application say in Unix, natually, the shared location has to be one of the unix boxes. Then just mount this location on both the managed servers (mount is similar to mapping a drive in Windows OS). Also the location of the files can be changed anytime in the properties file. Say in QC, the location may be X:\a\b\c\qc. But for UAT on Unix it can be like /x/y/z/uat/. Now this .properties file can exist directly under the Domain root folder so you can access it directly without any path in your java code. You can also use System properties like user.home etc. Make sure to copy this .properties file on both the domains. The original master domain. And the psueduo domain that is generated when you run the unpack command if you have managed server in another machine.
    3. This is much simpler but kind of not recommended. Simply, create a simple table with few header columns and one BLOB/CLOB column. Store the file in this database table and retrieve from it. This means you will have JDBC code, and the code to create clob to store and generate file from clob for retrieval.
    My preference is the first option given above. Getting tools to copy files may be complex. Its not like syncing the data across but its the files that needs to be copied across the machines.
    Thanks
    Ravi Jegga

  • A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touchscreen not working plus there are blured lines across the screen and I can't see anything that it displays. Now when I try too connect my iPhone 4 t

    A few months back I Dropped my iPhone 4 and I cracked my screen and now i cant unlock my phone due to touch screen not working plus there are blurred lines across the screen and I can't see anything that it displays.
    Now when I try too connect my iPhone 4 to iTunes on my computer at home an error message comes up saying that I have to unlock my iPhone 4 for it to communicate to my device.
    But the problem is that I can't unlock my iPhone 4 because I'm unable to see the key pad and my touch screen no longer responds when I touch it.
    I just want to reset my iPhone 4 back to its Factory Settings & start all over from the beginning.
    How can I unlock my iPhone 4 with iTunes on my computer or any other option you suggest me trying.
    Thank you in advance,
    SiHero

    If you have had a "local guy "repair your iphone you will not get any support from Apple for warranty OR post warranty
    If Verizon return it to Apple it wil not be handled by Apple
    If Verizon also use unauthorised repairers you may be lucky
    (Apple do not sell parts to local guys or anyone else )

  • Is there a cure for persistent file corruptions across the suite?

    i am having terrible and consistent problems with file corruptions across the suite. for example…
    1: i collected for output (indesign) – corrupted over 100 small images that were linked.
    2: opened an indesign job and all linked files failed to update and could not be imported (simply would not import those files and were all corrupted).
    3: had a hang in photoshop followed by a 150:30 error (would not open any of my applications). this prompted a clean install of system and adobe cs4 see below
    4: most recently, had a hang in photoshop (photoshop will also no "force quit") whilst indesign was open. two of my image files corrupted and, most surprisingly, all my illustrator files that i had placed also corrupted (will not even open in illustrator any more). illustrator was not even running at the time, so, get this – a hang in photoshop destroys illustrator files simply because they are placed in indesign.
    this last event has made me more certain than ever that there is a fundamental problem at the cs4 core.
    can anyone help?
    please note the following:
    i am running a macintosh imac, 2.66 GHz Intel Core 2 Duo (latest imac), with 4 GB 1067 MHz DDR3 ram.
    before this last disaster, i had reloaded the system software (archive and install), and updated it all the way to version 10.5.8
    i then uninstalled the creative suite, ran the cleanscript from adobe, reloaded the creative suite, downloaded all the cs4 updates
    (so, latest mac, latest system, latest cs4 – all clean installs).
    is there something i can do? or is this just a very unstable and disappointing upgrade – i have had nothing but problems from day one!
    many thanks if anyone has any advice.

    Re: 150:30 error:
    Please try this KB article's solutions, and report back on how it went for you. If you can provide details about any recent OS updates, backups, or migrations, that would help is nail down the root cause of the new rash of this error for Mac users recently:
    http://kb2.adobe.com/cps/512/cpsid_51260.html

  • I downloaded a program to be able to open docx diles and now every time I try to open one there are endless new tabs that read "new Tab" scrollomig across the top of the screen. How do I make it stop?

    I had an old version of office so I tried to install a free download that will allow me to open docx files. Now when I try to open one and endless stream of tabs that say "New Tab" scrolls across the top of the page. How do I make it stop. I already went and got office 2010 but it is still doing it. It does not do it if I use Internet Exployer for the browser.

    See [[Firefox keeps opening many tabs or windows]]

  • When I try to use Firefox Browser on my Samsung Note 3, the screen comes up white after the orange bar runs across the top. It worked yesterday.

    March, 9th, 2015 -- My Samsung Note 3 is on AT&T wireless, but I Have Xfinity wi-fi at home. Firefox browser worked yesterday & last night. Today when I search it comes up with a blank white screen after the orange bar runs across the top & never loads anything (words or pictures). When I open the tabs in the side bar, it shows the pictures for them, but still only loads a white page after clicking actual link. It will not sync the last few saved bookmarks with my computer. I made sure that I have the latest android version installed, but It still does this even after uninstalling & re-installing & restarting the phone. AT&T had an update a couple of days ago & I've already talked with their tech support with no resolution. I don't know if there is conflict with AT&T's update & current Android Firefox browser. Please Fix, thank you.

    Yes, it does the same thing whether on wi-fi or 4G.

  • Issues with lines across the screen, as well as freezing

    Issues with lines across the screen, as well as freezing
    Hello all
    Got an iMac since January 2008 and I do like it a lot, even though it has some issues:
    -- It displays (quite often) lines partially across the screen
    -- Lines appear as well when opening applications or when menus come up
    -- The system freezes more than I like to admit (more than my Windows/Ubuntu box)
    I don't know if the freezing has to do with the lines that are shown on my screen. But I assume that both issues relate to some video card problem. I can't be sure - but that's what I assume from living with this issue day to day.
    The line on the desktop (most of the time it is there before login) I can always get rid of by changing the display resolution to something else and then changing it back. Normally the line is gone, or, reappears on a different spot on the desktop. But repeating the procedure removes the line.
    However, this does not mean that the lines are not showing up again when launching apps or displaying menus!
    And since those lines appear to happen randomly, I think it's safe to assume that we're not talking dead pixels here, either...
    About the freezing:
    My iMac freezes sometimes when I move the mouse around, when switching desktops using "spaces" or when the zoom function of the Dock kicks in. Sometimes the screen goes completely black, sometimes completely white. The mouse, however, always works. But the system requires a reboot.
    Again, this happens too often to feel comfy about it.
    With my little knowledge of Mac troubleshooting I assume that there's something wrong with the ATI card that's built into my Mac. On the other hand, some people say that they started getting similar issues after updating their OS to Leopard. Again other people say that such issues stem from an ATI revision that is too old and the Mac should get a new ATI card. And how would that work? Isn't that an "all-in-one" machine with everything soldered onto the mainboard?
    So, any help in this matter is greatly appreciated...
    Cheers,
    Rainer

    Here are a few screen photos I've taken (not screenshots, as the lines are not visible when taking screenshots. I used my digicam to snap those...).
    Here's the link to those screen photos displaying some of the many lines I keep having:
    http://picasaweb.google.com/rainer.rohde/NewAlbum62508115AM
    Needless to say, as I typed this message here, I had a nice line going across my Safari window..
    Cheers,
    Rainer

  • HT1430 Ipod touch (5th generation) w/ lines across the screen - now dead.

    My son's Ipod touch (5th generation) had lines across the screen. I turned it off using the home + on/off button reset, but the apple never came back on. Now it seems to be dead. Not dropped, not completely drained, no water damage. Just dead. Any ideas?
    I have also tried plugging it into my Macbook Pro, and iTunes does not find it.
    ITunes is up to date.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • My macbook pro keeps flashing green lines across the screen then freezing, can anyone help?

    Back in December my macbook started doing this thing quite regularly where it would flash black or green lines all across the screen, for maybe half a second, then the screen would freeze, so I would power it down manually then back on again. I took it into a store and paid a lot of money for them to "fix" it, but when I got it back it was still doing it. I just recently took it in to a different store and the guy said he couldn't reproduce the problem, but replaced the RAM and gave it back to me. Within a day of having it back the same thing happened, twice. At this point I'm not sure what to do, the money I spent on "fixing" it could almost have bought me a new one. The most recent time I shut it off, when it was turning back on it stopped on the grey screen with the apple and started making a continuous beeping sound, which I took a video of. Does anybody know why any of this is happening??

    Hi Were you using the apple store for the repairs you had done? As to the point of taking in to a store to have it repaired and getting it back with the same problem. It should have been taken back to the same store as they have to stand behind what they do. You do not say what they repaired. The store replacing ram without knowing what the problem is ,is questionable. If you are going to change ram for the original apple installed ram, you need to make sure it is compatible with your MBP. One of the best sources for this is  Macsales.com. As to the Beeping sounds here is a link on it. You do not say if this is one continuing beep or more than one repeating itself.http://support.apple.com/en-us/HT202768

  • How do I go back to my original blog design when after I upgraded firefox my top border changed to go only halfway across the page and a line now runs down the middle of my blog? Not on other computers, just mine.

    I would just like my blog to return to its original format with no line down the middle of the page and the top border going across the entire page not just halfway. This happened immediately after I upgraded to Firefox 6. My blog's format is normal on other computers but not normal on my computer. Thank you.

    Can you attach a screenshot and maybe post a link?
    *http://en.wikipedia.org/wiki/Screenshot
    Use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed the maximum file size (1 MB).
    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you have increased the minimum font size then try the default setting "none" as a (too) high value can cause issues.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    *https://support.mozilla.org/kb/Changing+fonts+and+colors
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with overlapping text.

  • What organizer app has a really good WEEK VIEW like my Palm Pilot - it's a grid with days across the top.  Below each day- the day is divided into hourly grids.  When events are schdeuled across  week - you get a mosaic of time blocks.  Analogue - great

    What organizer app has a really good WEEK VIEW like my Palm Pilot - it's a grid with days across the top.  Below each day- the day
    is divided into hourly grids.  When events are schdeuled across  week - you get a mosaic of time blocks.  Analogue view is  great way
    to comprehend the time obligations as a molar pattern.
    thx,
    Fritz

    I use Week Cal on the iPod.  I think it was only $1.99.  It is a lot better and does a lot more than the one that came with the Palm Pilot.
    As you know, unlike the Palm Pilot, the iPod does not come with a desktop application that you can sync your iPod calendar to.  Since I don't use Outlook, I have to use a Cloud based calendar to sync with my PC.  I use Hotmail's calendar for that.  (If your computer is a MAC, you can use iCal)

Maybe you are looking for

  • How to print to Canon irC5051 with Print Server?

    [edit] I am using 10.7.5 not 10.6.8 sorry [\edit] My company recently upgraded to Canon Image Runner C5051 units. They added print servers with authentication for follow me printing (print at any machine around the building by authenticating). I have

  • Renewed my Contract Based on Misinformation From Verizon Reps-Any Recourse to Get Out of Contract?

    A few months ago (February or so) I renewed my contract with Verizon and got an iPhone 4S as my previous HTC phone up and died. I knew I was going to be moving to Canada for awhile and so I made sure to ask a lot of questions about their Nationwide+C

  • Selecting two JText Area at a time

    Hi All, I am creating an GUI application for diff'ing two text files. For showing the two text files I am using the JTextArea and now the problem is when I show difference between two fields I have to select text in the two JTextArea Simultaneously s

  • Org.xml.sax, Interface ContentHandler

    Hi all, In the above interface, we have startElement method. The API says: "This event allows up to three name components for each element: the Namespace URI; the local name; and the qualified (prefixed) name. Any or all of these may be provided, dep

  • VA01 - Add new partner automatically

    Hi all, in VA01, for every item I need to add a new partner function automatically, depending of a certain condition type. Does anybody tell me the correct user exit I have to use ?  Best regards