MapViewer and AUTO:42004 coordinate system

How can I use Oracle MapViewer against an external WMS server using the coordinate system AUTO:42004?
I have tried it, but the min/max longitude values in the BBOX parameter become wrong.
- Ingebrigt -

Ingebrigt
The AUTO keyword is not supported in the current release.
From the MV doc Sec D.2.1.14 SRS Parameter
"The namespace AUTO, for projections that have an arbitrary center of projection, is not supported. "
Jayant

Similar Messages

  • Java coordinate system.

    I'm trying to code a program that crops a selected rectangle of a given image. The way I thought to do this was first I created an array holing the pixels of the image. Then I would use the size of the selected area to define the size of a second array and then use the origin of the selected area to reference where to start the second array copying the pixels across.
    This was based on the assumtion that the coordinate system worked in pixels, that given that the image and program window have been set to 640 X 1200 any given point in a 640 X 1200 array would corresspond to it's equivilent on the screen. Yet when I call the getX() method on the selected area object it returns a double.
    why a double?
    Edited by: FyodorK on Dec 5, 2008 4:46 AM

    Which class are you calling the getX() method on? If the documentation says it returns a double, then it does.
    As a side note, Graphics2D (in java.awt) objects can have what is called an affine transform, i.e. rotation, translation, skewing, etc. And that's why the logical coordinate system and the physical coordinate system (pixels on the screen) may be different.
    s

  • Hp pavilion crashed and auto repair cannot fix. operating system is vista. help

    My HP Pavilion dv7-1020us started to struggle when I tried to download live video of the US Open  tennis final. I eventually gave up on this  because it kept crashing. two days later it crashed permanently and auto repair cannot fix it. Any suggestions?

    Hi
    Please find the link given below might help you to fix your issue.
    Resolving No Sound or Audio Problems in Windows 7
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • GR/IR not auto clear in system

    Hi All,
    GR/IR not auto clear in system
    Normally every week end the system automatically clears the open items in f.13, But this time it has not clear the open items
    What could be the reason the system not to clear open items on the week end.
    So that's the reason the user manually cleared the open items
    - User has performed F.13 on 26th of Oct but system didn't auto clear the open items.
    - Those documents are posted prior to 26th of Oct and user would like to know what cause to incident.
    Please suggest me what should be the reason to come out of this issue.
    Thanks in advance
    nandha
    Edited by: nandhasapfi on Nov 8, 2011 1:07 PM

    Hi All,
    I trying to auto clear fbl3n open items in f.13,  every week end  the system defaultly  auto clears all the open items in the system but last weekend it has not been done that job.
    Suggest me what should be the reason for the above issue.
    And i checked in OB74 for the G/L a/c 123456 they have configured the below thing
    chart of account ABC
    a/c type S
    criteria 1 zuonr  assignment     
    criteria 2 vbund  Trading partner
    criteria 3 ebeln   purchasing document
    criteria 4 ebelp   item
    criteria 5 empty
    Suggest me Still any thing required to configure for auto clear the open items of fbl3n
    Thanks in advance
    Edited by: nandhasapfi on Nov 10, 2011 11:45 AM

  • Screen Pixalation when using Sleep and Auto Logout problems. OS bug?

    Original Thread here: http://forums.macrumors.com/showthread.php?t=1295058
    Thread Tools
    Search this Thread
    Display Modes
    Dec 21, 2011, 01:01 PM
      #1
    gswilder
    macrumors regular
    Join Date: Oct 2007
    iMac Sleep Problem Waking - Screen Black & Pixelization
    Have a new BTO 27" iMac I received a couple of weeks ago. Of course it is running Lion 10.7....
    I am having a screen problem "waking" my iMac. (I also have this problem randomly on my MB Air - mid 2011 model)
    After the iMac is in true sleep mode
    (I have it set to enter a password after sleep mode)
    Screen is blank/off
    I "wiggle" my mouse or trackpad
    Screen is still blank (sometimes it may display my screen saver, but the screensaver is frozen)
    If I start moving the mouse or trackpad, it starts "un painting" the black screen. You can see whatever is supposed to be on the screen, such as the logon "button".
    It is really wierd. Like a black "overlay" is painted on the resume from sleep screen. As I move my mouse or trackpad, it is basically erasing the black, to show what is underneath. Each movement of the mouse, erases a small black square.
    I usually move my mouse around the middle of the screen to uncover the logon button. Press the logon button. The screen magically reappears as normal. I enter my password and system logs back on normally.
    It only seems to be when the iMac is in really deep sleep mode. If the screen is just blank for an hour or so. I move the mouse/trackpad, and the logon screen is immediately displayed normally.
    Any thoughts or recommendations?
    Thanks to all in advance.
    Greg
    0  
    Dec 23, 2011, 12:17 AM
      #2
    gswilder
    Thread Starter
    macrumors regular
    Join Date: Oct 2007
    UPdate
    Still experimenting.
    If certain programs are running (ie Firefox), then I don't have a problem coming out of deep sleep. It gives me a message when I reenter my password, that Firefox prevented the system from logging off.
    Does that additional information help? It is a really annoying problem. And since I have it on my MBA, I am concerned it is more widespread. Does anyone else have this issue?
    0  
    Dec 24, 2011, 09:18 PM
      #3
    UNCHeelYeah
    macrumors newbie
    Join Date: Dec 2011
    Black Screen and "Erasure" with Mouse.
    I am having this same problem. I am using the Mac OS X Lion 10.7.2, not using a screen saver, and it happens sporadically upon trying to wake my iMac from sleep mode. The screen is black, and as you move the mouse over the screen, it "erases" the black, like the opposite of a blackboard, to reveal the login name and picture underneath. After that everything works fine. There is no pattern to this that I can discern (e.g. - happens every fifth time, only happens when a program isn't running etc.). It appears random, but is uber annoying, and behaves like a virus. I have Norton Antivirus, and it updates daily, and upon scanning states no virus is found. I also do system scan with MacKeeper, and it scans, says system is excellent. Something is definitely going on, I just wish I knew what it was. If anyone has any knowledge of this, any solution or insight would be greatly appreciated! Thanks!
    0  
    Dec 25, 2011, 12:29 PM
      #4
    GGJstudios
    macrumors G4
    Join Date: May 2008
    Quote:
    Originally Posted by UNCHeelYeah
    It appears random, but is uber annoying, and behaves like a virus. I have Norton Antivirus, and it updates daily, and upon scanning states no virus is found.
    That's because there are no Mac OS X viruses. You should uninstall Norton. You don't need 3rd party antivirus apps to protect your Mac from malware. Macs are not immune to malware, but no true viruses exist in the wild that can run on Mac OS X, and there never have been any since it was released 10 years ago. The only malware in the wild that can affect Mac OS X is a handful of trojans, which can be easily avoided with some basic education, common sense and care in what software you install. Also, Mac OS X Snow Leopard and Lion have anti-malware protection built in, further reducing the need for 3rd party antivirus apps.
    Mac Virus/Malware Info
    Quote:
    Originally Posted by UNCHeelYeah
    I also do system scan with MacKeeper, and it scans, says system is excellent.
    You don't need MacKeeper, either. You really don't need "cleaner" or "maintenance" apps to keep your Mac running well, and some of these apps can do more harm than good. Most only remove files/folders or unused languages or architectures, which does nothing more than free up some drive space. It will not make your Mac run faster or more efficiently, since having stuff stored on a drive does not impact performance, unless you're running out of drive space.
    Mac OS X does a good job of taking care of itself, without the need for 3rd party software.
    Your problem, and the OP's is a graphics problem, likely having to do with the screensaver, not a malware problem.
    1  
    Dec 26, 2011, 08:13 AM
      #5
    UNCHeelYeah
    macrumors newbie
    Join Date: Dec 2011
    Norton Antivirus, and what does it mean?
    I suppose one reason I developed a concern that there was more here than meets the proverbial eye, so to speak was a message that I have received through Norton on multiple occasions. The last message of similar stated messages reads as follows (Norton Antivirus 2.2.1 (5) ): "Vulnerability blocked, December 13th, 2011, 8:57 P.M. When I click on "View Recent Activities", a window is opened that is titled "Activity Log." There, four columns are listed, titled from left to right "Date", "Event Type", "Result", and "Details." Under the December 13th episode, It lists "Portscan" under Event type, "Result" gives an IP Address (192.168.x.xxx), and "Incoming" under details.
    I am admittedly a neophyte in the Mac world, having switched over from Windows 7 to Mac recently, but am intent on educating myself to the not-so-subtle differences. The above information that Norton displayed would lead one to believe that their antivirus software is protecting my iMac, and that its subsequent removal would have perhaps disastrous results ( i.e. - my iMac would be susceptible to said "Vulnerability", whatever it is, and that "Incoming would NOT be blocked). I had a conversation with Norton because previously, every time the stated "Vulnerability" attempted access, I was interrupted by a pop-up screen informing me of this. The Norton representative was able to turn off the pop-up screen notification, but stated that it would continue to log episodes of the "Vulnerability" when it attempted to portscan and access. So am I to understand that uninstalling Norton would leave my computer no less vulnerable to this vulnerability? It is confusing to me.
    Furthermore, I suppose I did wonder if this vulnerability threat had anything to do with the issue of the black screen erasure with the mouse. I will attempt to post a picture of the screen as it was being erased with the mouse, and perhaps a short movie as well. As previously stated, I do not have a screen saver enabled. Thank you for your input, any information is helpful to me! _
    ~Marc
    http://forums.macrumors.com/attachment.php?attachmentid=317412&d=1324905189
    0  
    Dec 26, 2011, 11:19 AM
      #6
    gswilder
    Thread Starter
    macrumors regular
    Join Date: Oct 2007
    Ditto & FYI Workaround
    UncHeel...
    Thanks for posting the picture. It is same as my iMac problem. On my iMac, it happens 100% of the time. On my MBA, it happens randomly like yours.
    I began to notice if certain programs were running, when it went into screen saver and sleep mode, this didn't happen. And when I woke it up, I got a message that said "could not be logged off due to Firefox or Sketchbook Pro, etc. So that got me to thinking. So....
    Over the weekend, I disabled "logoff after xx minutes of activity" in system preferences. That seems to fix the issue. I still have it set to require a password after the screen saver/sleep mode kicks it. But I disabled the logoff toggle.
    Still not sure what this is an issue, but seems to be a work around. I just want to make sure my iMac is still going into sleep with these new settings. Including the monitor sleep.
    Any thoughts based on this new information?
    Thanks again
    Greg
    0  
    Dec 26, 2011, 11:52 AM
      #7
    GGJstudios
    macrumors G4
    Join Date: May 2008
    Quote:
    Originally Posted by UNCHeelYeah
    The above information that Norton displayed would lead one to believe that their antivirus software is protecting my iMac, and that its subsequent removal would have perhaps disastrous results
    You have to remember that many antivirus apps consider cookies to be a "vulnerability" or "threat", when they're not. The only malware in the wild that can affect Mac OS X requires the user to actively install it. As long as a user is reasonably careful about where they get software, there is no need for 3rd party antivirus apps to protect Mac OS X from malware. Just make sure your firewall is enabled (System Preferences > Security > Firewall), and disable Java in your browser (Safari > Preferences > Security > Enable Java (uncheck))
    Quote:
    Originally Posted by gswilder
    I just want to make sure my iMac is still going into sleep with these new settings. Including the monitor sleep.
    You can let it sleep without logging off. That way, your apps/documents are still open when you wake it up, rather than having to relaunch apps and reopen documents. Recovery from sleep is much faster than from logging off.
    0  
    Dec 27, 2011, 03:02 PM
      #8
    rda2w
    macrumors newbie
    Join Date: Oct 2011
    Quote:
    Originally Posted by gswilder
    UncHeel...
    Thanks for posting the picture. It is same as my iMac problem. On my iMac, it happens 100% of the time. On my MBA, it happens randomly like yours.
    I began to notice if certain programs were running, when it went into screen saver and sleep mode, this didn't happen. And when I woke it up, I got a message that said "could not be logged off due to Firefox or Sketchbook Pro, etc. So that got me to thinking. So....
    Over the weekend, I disabled "logoff after xx minutes of activity" in system preferences. That seems to fix the issue. I still have it set to require a password after the screen saver/sleep mode kicks it. But I disabled the logoff toggle.
    Still not sure what this is an issue, but seems to be a work around. I just want to make sure my iMac is still going into sleep with these new settings. Including the monitor sleep.
    Any thoughts based on this new information?
    Thanks again
    Greg
    I have had the same problem on my mid-2010 iMac since upgrading to Lion and it's been driving me nuts. The relation to automatic Logoff makes sense to me now that I look at my settings. The logoff was occurring after sleep and it's the only thing I haven't tried yet. I had previously thought it was related to Sleep but it never occurs if I force it to sleep. It only occurs after the system was left unattended and went through it's normal steps of screensaver then sleep. I'll try disabling the automatic Logoff and see if it fixes the problem for me too.
    -BA
    0  
    Dec 29, 2011, 10:58 AM
      #9
    rda2w
    macrumors newbie
    Join Date: Oct 2011
    Quote:
    Originally Posted by rda2w
    I have had the same problem on my mid-2010 iMac since upgrading to Lion and it's been driving me nuts. The relation to automatic Logoff makes sense to me now that I look at my settings. The logoff was occurring after sleep and it's the only thing I haven't tried yet. I had previously thought it was related to Sleep but it never occurs if I force it to sleep. It only occurs after the system was left unattended and went through it's normal steps of screensaver then sleep. I'll try disabling the automatic Logoff and see if it fixes the problem for me too.
    -BA
    I can only declare partial success with unpicking "logoff after xx". It solved the pixelated screen issue but now the computer is not sleeping. I guess I'll have to uncheck file sharing now.
    -BA
    0  
    Feb 6, 2012, 06:26 PM
      #10
    ougrad1764
    macrumors newbie
    Join Date: Apr 2010
    Any updates?
    Just wanted to see if there had been any changes since the last posting in this thread. I'm experiencing the same issue as OP on my 2011 13" MacBook Air w/ OS X 10.7.3, as well as on my parents' mid-2010 iMac (running OS X 10.7.2).
    I can't seem to pin down the cause and have tried the steps suggested previously. Thanks!
    0  
    Feb 21, 2012, 10:03 PM
      #11
    wchp
    macrumors newbie
    Join Date: Feb 2012
    Still having the same issue here as well.
    Have any of you tried a clean install of OSX?
    Before I try a full reinstall I did an install on a external drive with no aps, just the bare install and I could not replicate the issue.
    I continue to question if this is a graphics card firmware issue or and OS issue.
    A reinstall (overlay) of the OS did not resolve the issue.
    I have screen shots as follows:
    1) Paint pixels on screen
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo1. jpg
    2) Click Icon
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo2. jpg
    3) Type in PWD
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo3. jpg
    4) Logged in:
    http://i129.photobucket.com/albums/p227/wchp/iMac27%20Graphics%20Problem/photo4. jpg
    Last edited by grapes911; Feb 21, 2012 at 10:12 PM. Reason: replaced img with timg
    0  
    Yesterday, 12:21 AM
      #12
    jrobin
    macrumors newbie
    Join Date: Feb 2012
    Having the same issue
    I have four MacBooks and a MacBook Air. I am seeing this issue on two MacBooks both running Lion 10.7.3. One is a newer i5 MacBook the other is an early 2010. The only common denominator I can think of is they are both set up with Parental Controls and they are set to logoff after X amount of time. The other MacBooks don't have this "pixel painting to revel the login screen issue" I also don't see it on our iMacs or the MacMini. Only the two with the issue are set to auto logoff. So the above poster is most likely on to something. I will give it a try by turning off the auto logoff on the two MacBooks in question. If that solves the problem then I will assume its a bug that needs to be addressed.
    0  
    Yesterday, 12:30 AM
      #13
    ougrad1764
    macrumors newbie
    Join Date: Apr 2010
    reinstall (overlay) of the OS did not resolve the issue
    wchp - Thank you for following up and posting the screenshots. They match exactly what I was experiencing (and what UNCHeelYeah reported previously). I can confirm that I experienced the issue even following a clean reinstall of Snow Leopard on my MacBook Air (13-inch, Mid 2011).
    jrobin - "I will give it a try by turning off the auto logoff on the two MacBooks in question. If that solves the problem then I will assume its a bug that needs to be addressed."
    Good thinking! Thanks for taking the time to test with your machines. This will help provide further validation of what gswilder (OP) tried as well in reply #6. Interesting about Parental Controls, too.
    Side note:
    Since I recently joined the Apple Developers program, I did a clean install of SL on my MBA then upgraded via the App Store to Mountain Lion to "kick-the-tires" if you will. Interestingly, I've not yet experienced any issue related to waking from sleep with a black screen and pixilation, even while running all the same apps I had previously. I'll report here (and file a bug report with Apple) if I do see this issue pop-up in ML. I'll be reinstalling SL in a few weeks and will report back if/when the black screen and pixelation issue reappears. I'll be sure to note the applications left running at the time the computer went to sleep.
    Last edited by ougrad1764; Yesterday at 12:44 AM. Reason: Follow-up to jrobin (reply came in while I was typing mine)
    0  
    Yesterday, 09:04 AM
      #14
    evillanueva
    macrumors newbie
    Join Date: Feb 2012
    I have experienced the same issue with my brand new MBA Late 2011.
    I recently found out that this only happens when DISPLAY is set to go to sleep minutes before the "Log out after X minutes of inactivity". I had "Display sleep" option set to 5 minutes and "Log out after 10 minutes of inactivity" and this causes the display to go to sleep first (screen goes black) and then, 5 minutes later, it logs out.
    If "Display sleep" is off and "Log out after X minutes of inactivity" is on, the issue does not replicate. So Im thinking it has something to do with the screen being black at the moment it logs out. Can you try and replicate that?
    Thanks
    0  
    Yesterday, 01:39 PM
      #15
    wchp
    macrumors newbie
    Join Date: Feb 2012
    Quote:
    Originally Posted by evillanueva
    I have experienced the same issue with my brand new MBA Late 2011.
    I recently found out that this only happens when DISPLAY is set to go to sleep minutes before the "Log out after X minutes of inactivity". I had "Display sleep" option set to 5 minutes and "Log out after 10 minutes of inactivity" and this causes the display to go to sleep first (screen goes black) and then, 5 minutes later, it logs out.
    If "Display sleep" is off and "Log out after X minutes of inactivity" is on, the issue does not replicate. So Im thinking it has something to do with the screen being black at the moment it logs out. Can you try and replicate that?
    Thanks
    Just tested this premise and yes, you are correct.
    IF: Screen saver ON after 5m AND require password immediately AND Sleep (Display) after 30m AND Logout after 60m I am able to reproduce the problem.
    IF: Screen Saver ON after 5m AND require password immediately AND Sleep (Display) after 30m AND Logut after xx NOT enabled, problem goes away
    IF: Screen Saver ON after 5m AND require password immediately AND Sleep (Display) OFF AND Logut after 60M enabled, problem goes away
    So on my machine (iMac 27, 3.4/i7, 16GB/1333, Radeon 6970m/2048MB, OSX 10.7.3
    It would appear that if I am running Monitor Sleep and it kicks in prior to LogOff then I am able to reproduce this artifact. Only Display sleep with immediate login OR Loguot should be used but not both.
    The only other thing to test is is I leave display sleep on, and screen saver on but with NO immediate password and enable logoff if the problem goes away.
    Testing for another day.
    I have linked this entire thread to a Apple support ticket and will report back on Apples response

    Thank you so much wchp, this is brilliant. I have had this annoying problem for a long time. I eventually rang Mac support, they did not know how to fix the problem as you have suggested so they instigated many hardware replacements which eventually left my iMac severely crippled. They eventually replaced it with the latest model. But I spent two months working with a disabled computer which really interfere with my work.
    Your solution appears to have solved my problem, at least so far, but I am hopeful that it is a permanent fix. I hope that your suggestions are taken up by Apple support. This may solve many users problems and avoid Apple making expensive fixes that don't actually work.
    I thought that the new iMac would not have the 'Wake up from sleep by painting in the login window' problem but it did, this really annoyed me. Anyway now the problem appears to be solved, it's not I will repost and keep working on it. Thanks again.

  • How to Disable "Auto Align" in [System Pref.] - [Display] - [Arrangement]

    Does anyone know How to Disable "Auto Align" in [System Preferences] -> [Display] -> [Arrangement]?
    It always want to align the two screens from the top when they are lined up close together and I need them to be aligned from the bottom. Since the resolution heights are so close together (1080 & 1050) it does not allow one to align side by side from the bottom as it prioritizes top alignment.
    I guess I'm looking for a script to disable this feature.

    Anyone got any ideas?

  • Magnetic lasso and auto sharpen not working correctly

    anyone having this problem with PSE 3.0

    Which operating system are you using?
    What is not working with the Magnetic Lasso Tool and Auto Sharpen?
    Have you tried resetting the photoshop elements 3 preferences?
    To reset the preferences:
    Press and hold the Shift+Alt+Ctrl (windows) or Shift+Option+Command (mac) keys just after starting the launch of the pse 3 editor.
    Keep holding the keys down until you get a dialog asking if you want to delete the photoshop elements settings file
    Press Yes to reset the preferences.

  • Problem with transforming coordinate systems

    Hiho,
    i've got a problem with transforming coordinate systems.
    When I'm trying to transform a sdo_geometry object to another coordinate sytem and then back to the old system, the coordinates are not the same.
    Here's an example:
    StartSystem SRID is 8220 (Longitude / Latitude (DHDN))
    TargetSystem SRID is 8307 (Longitude / Latitude (WGS84))
    Original object:
    Polygon: {ExteriorRing: LineString: { (0.0, -90.0) (1.5, 0.0) (0.0, 90.0) (4.5, 0.0) (0.0, -90.0)} }
    Transformed object:
    Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (85.94366926962347, 0.0) (0.0, 5156.620156177403) (257.8310078088704, 0.0) (0.0, -5156.620156177403)} }
    Transformed back to old system:
    Polygon: {ExteriorRing: LineString: { (0.0, -5156.620156177403) (4924.209525017614, 0.0) (0.0, 5156.620156177403) (14772.628575052844, 0.0) (0.0, -5156.620156177403)} }
    Any ideas what to do?
    Thanks for the help in advance.
    Dirk

    Hi Dirk
    Since the transform you are trying to do is just a datum conversion of lat./long. coordinates, even the first transform yields obvious rubbish. What you have provided here does not illustrate how you submitted your polygon to CS_TRANSFORM.
    Provide the syntax of your construction of the corresponding SDO_GEOMETRY object and your SQL select statement that gave these results.
    Bruce

  • How can I get the coordinate in the layer coordinate system while doing the iterate?

    I found that the position(x,y) the iterate function tell me is not right sometimes.
    Actually,it happens when the top of the layer is negative. The "y"is in the comp coordinate system(maybe?) but not the layer.In another word, the position with y=0 is not the top.
    More specifically, I have got the color map of a layer. I am able to get the color of any pixel in the layer. But I can't set the color one for one when I use "iterate",because there is an offset.
    Am I supposed to get the offset? Is there any way to access the whole layer directly if I use iterate function?

    so indeed it's the offset at play.
    AE will diminish the buffer at 20% increments, and not for each pixel that
    goes out of sight. it's not really in relation to the upper left corner,
    it's all about what part of your layer buffer is out of sight.
    there's also an "iterate offset function". check it out. perhaps it will
    save you some trouble.
    On Fri, Dec 19, 2014 at 2:45 PM, Hinanawi Tenshi <[email protected]>

  • Select data with SDO_RELATE in lat long coordinate system(8307) in 10gR2

    Hi all,
    I have problem with selecting data from table.
    Data are in lat lon coordinate system 8307.
    These requests don't return any data:
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)) ) = 'TRUE';
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_RELATE(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array(-180,-90, 180,-90, 180,90, -180,90, -180,-90)), 'MASK=ANYINTERACT' ) = 'TRUE'
    Optimized polygon does return all data correctly:
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,3),sdo_ordinate_array (-180,-90,180,90)) ) = 'TRUE'
    Smaller polygon select data correctly too.
    SELECT ISSUE_ID FROM MAP_ISSUES WHERE SDO_FILTER(GEOMETRY, sdo_geometry (2003, 8307, null, sdo_elem_info_array (1,1003,1),sdo_ordinate_array (52,-7, 54,-7 , 54,-5 , 52,-5, 52,-7)) ) = 'TRUE'
    I have tried changed polygon to be clockwise, counter clockwise, make the area a bit smaller( 160 instead of 180, 89 instead of 90) nothing has helped.
    My explanation than was, that Earth is sphere and each defined polygon defines TWO polygons in the sphere and there is convention that the smaller is chosen to select data. It would make sense along the previous results, but than I found one post which says that this is bug http://www.frontoracle.com/oracle-database/703/180703-size-of-are-of-interest-smaller-equals.html
    I have found in other thread that max only 1/2 of Earth could be selected Different results using SDO_RELATE with polygon and rectangle type but it seems not true, because optimized bounding box works fine!
    What is right? Is there anything in official documentation?
    Is it bug.
    Max 1/2 of Earth could be selected in one request.
    Each polygon defines two areas in the Earth and the smaller one is used to do spatial SDO_RELATE operation?
    Thanks!
    Regards,
    Zdenek

    Zdenek,
    A bug, or limititation, whichever you choose. IMHO if you ask for something, and don't get what you expect, it is a bug that could be fixed.
    But for 10g anywho, the following applies, which is why I choose 120 degree breaks for my code as it is less than 180...
    The following size limits apply with geodetic data:
    ■ No polygon element can have an area larger than one-half the surface of the Earth.
    ■ In a line, the distance between two adjacent coordinates cannot be greater than or
    equal to one-half the perimeter (a great circle) of the Earth.
    If you need to work with larger elements, first break these elements into multiple
    smaller elements and work with them. For example, you cannot create a geometry
    representing the entire ocean surface of the Earth; however, you can create multiple
    geometries, each representing part of the overall ocean surface. To work with a line
    string that is greater than or equal to one-half the perimeter of the Earth, you can add
    one or more intermediate points on the line so that all adjacent coordinates are less
    than one-half the perimeter of the Earth.
    Bryan

  • GeoRaster querying returns negative and invalid cell coordinates

    Hi!
    I'm using Oracle 10.2.0.1 and loading raster data into GeoRaster - loading all works but when querying cell coordinates I get negative and unexpected values. Here is my process:
    -- Create GeoRaster table
    DROP TABLE tm;
    CREATE TABLE tm (id NUMBER, description VARCHAR2(50), image SDO_GEORASTER);
    -- Create trigger to keep metadata up to date
    EXECUTE sdo_geor_utl.createDMLTrigger('TM', 'IMAGE');
    -- Create raster data table
    DROP TABLE tm_rdt;
    CREATE TABLE tm_rdt OF SDO_RASTER
    (PRIMARY KEY (rasterID, pyramidLevel, bandBlockNumber, rowBlockNumber, columnBlockNumber))
    TABLESPACE tbsp
    NOLOGGING LOB(rasterBlock)
    STORE AS lobseg (TABLESPACE tbsp CHUNK 8192 CACHE READS NOLOGGING PCTVERSION 0 );
    -- Grant privs on file locations
    exec dbms_java.grant_permission( 'PUBLIC', 'SYS:java.io.FilePermission', 'D:\Users\tm.tif','read,write' );
    exec dbms_java.grant_permission( 'TEST', 'SYS:java.io.FilePermission', 'D:\Users\tm.tif','read,write' );
    exec dbms_java.grant_permission( 'MDSYS', 'SYS:java.io.FilePermission', 'D:\Users\tm.tif','read,write' );
    exec dbms_java.grant_permission( 'PUBLIC', 'SYS:java.io.FilePermission', 'D:\Users\tm.tfw','read,write' );
    exec dbms_java.grant_permission( 'TEST', 'SYS:java.io.FilePermission', 'D:\Users\tm.tfw','read,write' );
    exec dbms_java.grant_permission( 'MDSYS', 'SYS:java.io.FilePermission', 'D:\Users\tm.tfw','read,write' );
    -- Initialise GeoRaster object and import image
    DECLARE
    l_gr SDO_GEORASTER;
    BEGIN      
    -- Initialise GeoRaster objects
    INSERT INTO tm (id, description, image)
    VALUES (1, 'TM', sdo_geor.init('TM_RDT'));
    -- Import the images
    SELECT image INTO l_gr FROM tm WHERE id = 1 FOR UPDATE;
    SDO_GEOR.IMPORTFROM(l_gr, 'spatialExtent=true', 'TIFF', 'file', 'D:\Users\tm.tif', 'WORLDFILE', 'file', 'D:\Users\tm.tfw,3035');
    UPDATE tm SET image = l_gr WHERE id = 1;
    COMMIT;
    END;
    DECLARE
    gr sdo_georaster;
    BEGIN
    SELECT image INTO gr FROM tm WHERE id = 1 FOR UPDATE;
    sdo_geor.setModelSRID(gr, 3035);
    gr.spatialExtent := sdo_geor.generateSpatialExtent(gr);
    UPDATE tm SET image = gr WHERE id = 1;
    COMMIT;
    END;
    The raster file was originally a .MAP file which I converted to a .TIF file via ArcCatalog 9.2.
    I created a World File whose contents are:
    5000
    0
    0
    -5000
    -1697500
    2697500
    The .MAP file and .TIF file have the following Spatial Reference (Oracle SID 3035):
    PROJCS["PCS_Lambert_Azimuthal_Equal_Area",GEOGCS["GCS_User_Defined",DATUM["D_User_Defined",SPHEROID["User_Defined_Spheroid",6378388.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",9.0],PARAMETER["Latitude_Of_Origin",48.0],UNIT["Meter",1.0]
    In the Raster file:
    Columns, Rows = 680, 810
    Number of Bands = 1
    Cellsize = 5000,5000
    Extent Top = 2700000
    Extent Left = -1700000
    Extent Right = 1700000
    Extent Bottom = -1350000
    Origin Location = Upper Left
    So, loaded the raster into Oracle all ok; but when I try and find the cell coord for a real-world coord in WGS84 (location of a point in Iceland), it returns invalid cell coords:
    SELECT     sdo_geor.getCellCoordinate(t.image, 0, SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-19.4833, 64.6833, 0), NULL, NULL))
    FROM      tm t;
    Returns: SDO_NUMBER_ARRAY(-443, 930) which isn't a true cell coord in my raster??
    Also, if I test out to get the corners of the raster:
    SELECT sdo_geor.getCellCoordinate(image, 0, sdo_geometry(2001, 3035, sdo_point_type(1700000,2700000,null), null,null)) FROM tm WHERE id=1;
    Should return the top right corner at (680,0), it actually returns: SDO_NUMBER_ARRAY(0, 680) - the other way round?!?!
    I'm slowing going mad on this, so any ideas/thoughts would be greatly appreciated!!!

    Hi,
    I just did some test. The results you got actually was right. The point (-19.4833, 64.6833, 0) you give is in 8307. After it is transformed into coordinate system 3035, the system your georaster in. We get the model coordinates (2954416.89, 4914665.16, 0). The model coordinate of your up-left corner cell of your georaster is (-1697500, 2697500), so the cell coordinates of the give point is col = int((2954416.89 - (-1697500))/5000) = int(930.38) = 930, and row = int((4914665.16 - 2697500)/(-5000)) = int(-443.43) = -430. That is what you got. The point you give is outside of your georaster on the top.
    SQL> select sdo_cs.transform(
    sdo_geometry(2001, 8307, SDO_POINT_TYPE(-19.4833, 64.6833, 0), null,null),
    3035) from dual; 2 3
    SDO_CS.TRANSFORM(SDO_GEOMETRY(2001,8307,SDO_POINT_TYPE(-19.4833,64.6833,0),NULL,
    SDO_GEOMETRY(2001, 3035, SDO_POINT_TYPE(2954416.89, 4914665.16, 0), NULL, NULL)
    For point (1700000,2700000,null), it is at the top-right corner. Its cell coordinates should be (0,680). Be noticed, the cell coordinates has order of ROW, COLUMN.
    Please let me know if you have further question.

  • What function to set coordinate system in 6i with API?

    #define D2FP_COORD_SYS 72
    here's the define that relates to what i want to do.
    what are the names of the functions that set/get the coordinate system. (i want to set it to character and change the default units)
    thanks,
    [email protected]

    The Other missing Header file :-) - d2fcrd.h - In fact this is shipped in the Forms API lauchpad on the Forms section on OTN. But here it is anyway:
    /* Copyright (c) Oracle Corporation 1996.  All Rights Reserved. */
       NAME
        D2FCRD.H -- Dev2K Forms API CooRDinate system declarations
       DESCRIPTION
        Contains the public declarations for the Forms API CooRDinate system
       PUBLIC FUNCTIONS
        d2fcrdcr_Create          - Cover for d2fobcr_Create
        d2fcrdde_Destroy         - Cover for d2fobde_Destroy
        d2fcrddu_Duplicate       - Cover for d2fobdu_Duplicate
        d2fcrdex_Extract         -
        d2fcrdap_Apply           -
        d2fcrdg?_Get*Prop        - Cover for d2fobg?_Get*Prop
        d2fcrds?_Set*Prop        - Cover for d2fobs?_Set*Prop
        d2fcrdhp_HasProp         - Cover for d2fobhp_HasProp
        d2fobcs_CharSize
        d2fobss_StringSize
    #ifndef D2FCRD
    #define D2FCRD
    #ifndef ORATYPES
    # include <oratypes.h>
    #endif
    #ifndef D2FPRIV
    # include <d2fpriv.h>
    # endif
    /* C++ Support */
    #ifdef __cplusplus
    extern "C"
    #endif
    ** Object: Coordinate Info
    ORA_RETTYPE(d2fstatus) d2fcrdcr_Create( d2fctx *pd2fctx, d2fcrd **ppd2fcrd );
    ORA_RETTYPE(d2fstatus) d2fcrdde_Destroy( d2fctx *pd2fctx, d2fcrd *pd2fcrd );
    ORA_RETTYPE(d2fstatus) d2fcrddu_Duplicate( d2fctx *pd2fctx,
                                               d2fcrd *pd2fcrd_src,
                                               d2fcrd **ppd2fcrd_dst );
    ORA_RETTYPE(d2fstatus) d2fcrdex_Extract( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                             d2ffmd *pd2ffmd );
    ORA_RETTYPE(d2fstatus) d2fcrdap_Apply( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                           d2ffmd *pd2ffmd );
    ORA_RETTYPE(d2fstatus) d2fcrdgb_GetBoolProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, boolean *pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgn_GetNumProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, number *pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgt_GetTextProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, text **pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgo_GetObjProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid **pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdgp_GetBlobProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid **pprp );
    ORA_RETTYPE(d2fstatus) d2fcrdsb_SetBoolProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, boolean prp );
    ORA_RETTYPE(d2fstatus) d2fcrdsn_SetNumProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, number prp );
    ORA_RETTYPE(d2fstatus) d2fcrdst_SetTextProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                 ub2 pnum, text *prp );
    ORA_RETTYPE(d2fstatus) d2fcrdso_SetObjProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid *prp );
    ORA_RETTYPE(d2fstatus) d2fcrdsp_SetBlobProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                                ub2 pnum, dvoid *prp );
    ORA_RETTYPE(d2fstatus) d2fcrdhp_HasProp( d2fctx *pd2fctx, d2fcrd *pd2fcrd,
                                             ub2 pnum );
    ** These will eventually move to d2fob.h
    ORA_RETTYPE(d2fstatus) d2fobss_StringSize( d2fctx *pd2fctx,
                                               text *str,
                                               d2ffnt *pd2ffnt,
                                               d2fcrd *pd2fcrd,
                                               number *width,
                                               number *height );
    ORA_RETTYPE(d2fstatus) d2fobcs_CharSize( d2fctx *pd2fctx,
                                             number width,
                                             number height,
                                             d2ffnt *pd2ffnt,
                                             d2fcrd *pd2fcrd,
                                             number *char_width,
                                             number *char_height );
    /* Begin convenience macros  */
    #define d2fcrdg_char_cell_hgt(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_CHAR_CELL_HGT,val)
    #define d2fcrdg_char_cell_wid(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_CHAR_CELL_WID,val)
    #define d2fcrdg_coord_sys(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_COORD_SYS,val)
    #define d2fcrdg_dflt_fnt_scaling(ctx,obj,val) \
               d2fcrdgb_GetBoolProp(ctx,obj,D2FP_DFLT_FNT_SCALING,val)
    #define d2fcrdg_real_unit(ctx,obj,val) \
               d2fcrdgn_GetNumProp(ctx,obj,D2FP_REAL_UNIT,val)
    #define d2fcrds_char_cell_hgt(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_CHAR_CELL_HGT,val)
    #define d2fcrds_char_cell_wid(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_CHAR_CELL_WID,val)
    #define d2fcrds_coord_sys(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_COORD_SYS,val)
    #define d2fcrds_dflt_fnt_scaling(ctx,obj,val) \
               d2fcrdsb_SetBoolProp(ctx,obj,D2FP_DFLT_FNT_SCALING,val)
    #define d2fcrds_real_unit(ctx,obj,val) \
               d2fcrdsn_SetNumProp(ctx,obj,D2FP_REAL_UNIT,val)
    /* End convenience macros  */
    /* C++ Support */
    #ifdef __cplusplus
    #endif
    #endif /* D2FCRD */

  • Scale in MapViewer and MapBuilder

    Hello everyone,
    short question on scale-definitions in MapBuilder compared to MapViewer:
    I'm using google coordinates on a tilelayer to convert some local data to 3785
    <coordinate_system srid="3857" minX="-2.0037508E7" minY="-2.0037508E7" maxX="2.0037508E7" maxY="2.0037508E7"/>
    <tile_image width="256" height="256"/>
    <zoom_levels levels="19" min_scale="262144.0" max_scale="1.0" min_tile_width="76.43702697753906" min_tile_height="2.0037508E7">
    <zoom_level level="0" name="" description="" scale="1.0" tile_width="2.0037508E7" tile_height="2.0037508E7"/>
    <zoom_level level="1" name="" description="" scale="2.0" tile_width="1.0018754E7" tile_height="1.0018754E7"/>
    <zoom_level level="2" name="" description="" scale="4.0" tile_width="5009377.0" tile_height="5009377.0"/>
    <zoom_level level="3" name="" description="" scale="8.0" tile_width="2504688.5" tile_height="2504688.5"/>
    <zoom_level level="4" name="" description="" scale="16.0" tile_width="1252344.25" tile_height="1252344.25"/>
    <zoom_level level="5" name="" description="" scale="32.0" tile_width="626172.125" tile_height="626172.125"/>
    <zoom_level level="6" name="" description="" scale="64.0" tile_width="313086.0625" tile_height="313086.0625"/>
    <zoom_level level="7" name="" description="" scale="128.0" tile_width="156543.03125" tile_height="156543.03125"/>
    <zoom_level level="8" name="" description="" scale="256.0" tile_width="78271.515625" tile_height="78271.515625"/>
    <zoom_level level="9" name="" description="" scale="512.0" tile_width="39135.7578125" tile_height="39135.7578125"/>
    <zoom_level level="10" name="" description="" scale="1024.0" tile_width="19567.87890625" tile_height="19567.87890625"/>
    <zoom_level level="11" name="" description="" scale="2048.0" tile_width="9783.939453125" tile_height="9783.939453125"/>
    <zoom_level level="12" name="" description="" scale="4096.0" tile_width="4891.9697265625" tile_height="4891.9697265625"/>
    <zoom_level level="13" name="" description="" scale="8192.0" tile_width="2445.98486328125" tile_height="2445.98486328125"/>
    <zoom_level level="14" name="" description="" scale="16384.0" tile_width="1222.992431640625" tile_height="1222.992431640625"/>
    <zoom_level level="15" name="" description="" scale="32768.0" tile_width="611.4962158203125" tile_height="611.4962158203125"/>
    <zoom_level level="16" name="" description="" scale="65536.0" tile_width="305.74810791015625" tile_height="305.74810791015625"/>
    <zoom_level level="17" name="" description="" scale="131072.0" tile_width="152.87405395507812" tile_height="152.87405395507812"/>
    <zoom_level level="18" name="" description="" scale="262144.0" tile_width="76.43702697753906" tile_height="76.43702697753906"/>
    </zoom_levels>
    on zoomlevel 18 I'm "closest" to the ground, on 1 I can see the whole world (no data there in my theme but theoretically...) - all fine (except black borders between tiles - other problem).
    Now I want to improve image quality by choosing pyramid-levels for the zoom-level and tried to figure out a way to set up basemaps in mapbuilder using ratio.
    That's where I noticed, that MapBuilder seems to use a different way of calculating scale in comparison to MapViewer. E.g. in my case scale 262144 is zoom-level 18 in MapViewer, but viewing the picture in MapBuilder I have to chose scale 1024 to get the same picture (which is zoom-level 10 in MapViewer).
    Did I get anything wrong about this? Or is there anything I can do to sync the scales in order to make working with mapbuilder and mapviewer combined easier?
    Also is there a way to see which pyramid-level of the georaster-file is used to calculate a maptile in MapViewer?
    Thanks,
    NilsO

    Hi NilsO,
    first about the pyramid level of GeoRaster used. MapViewer/MapBuilder calculates the closest pyramid level for the current map scale (based on map and device windows). You can find this information in the log when the GeoRaster theme images are being generated (you may need to set the logging to finest).
    About the tile layer definition, in XML tile layer definition the values of min_scale and max_scale are interpreted differently from MapViewer base map definition. So I think in your case the min_scale should be 1.0 and the max_scale should be 262144 in XML, and the zoom levels would be in reverse order that you have.
    How did you generate this tile layer definition?
    The visualization scales in MapBuilder/MapViewer and Oracle maps in general should be consistent, although rendering in MapBuilder does not use the zoom levels of Oracle Maps (can be any scale). Please try changing the tile layer definition as mentioned above, to see if you still get the scale differences.
    Joao

  • 3D Coordinate System

    Hello everyone,
    I am new to Java 3D and was trying to create a simple 3D Coordinate system that has an x, y, and z axis. Can anyone help me or point me in the right direction regarding this issue? Appreciate the help.
    Moe.

    http://www.cs.brown.edu/exploratories/freeSoftware/catalogs/repositoryComponents.html
    has some coordinate systems available
    alain

  • Need ruling on screen coordinate system to use with AWTVideoSizeControl...

    Hi -
    I’m working on a tru2way application and a nagging question keeps popping up with stack vendors on the usage of the AWTVideoSizeControl interface. I was hoping you could provide a definitive answer (note that Bill Foote is the author of the interface spec).
    In short…my reading of the javadocs for AWTVideoSizeControl is that all values passed to and received from it are to be expressed in the graphics plane coordinate system. Stack vendors don’t always agree.
    Periodically, I run into a stack vendor who expects AWTVideoSize (as passed to AWTVideoSizeControl.setSize) to be expressed in video plane coordinates – I’ve so far been able to convince these folks that the spec requires graphics coordinates. I’ve just run into an interesting situation, though, where although the vendor agrees that AWTVideoSize should be in graphics coordinates, they’re feeling that the Dimension returned from AWTVideoSizeControl.getSourceVideoSize() should be based on the video plane coordinate system. Their thinking is that while ‘x’ and ‘y’ are coordinates (and therefore are called out as needing to be expressed relative to the graphics screen), ‘height’ and ‘width’ aren’t.
    Perhaps I’m wrong, but that seems incorrect. I would expect the Dimension height and width to be relative to the graphics screen as well.
    I’d appreciate it greatly if you could provide a ruling on this that I could take back to them (and others).
    Thanks.

    You would have to check with the manufacture of your system to see if they have an app available in the Apple App store to access their system. Since you do not indicate the system name or other information, you would need to also search the app store based on the answer the manufacturer provides for you. No one here would be able to guess at what you have.

Maybe you are looking for

  • Need help with xml and combo boxes

    Basically what im doing is a ui for a electronic book. The book is broken into 3 parts and each part has its own set of chapters. My xml schema is pasted below. And what i would like is to have two comboBoxes . The first one would list the names of t

  • Naming an object - Simple?! - Javascript/Windows

    Hey all! And again I'm having trouble in a pretty simple thing. I searched for a code that searches the Paragraph Style that i want to, till here no problem. I fount the item, swap to selection tool so that it can change the selection to the text box

  • O/R Mappping tool(s)

    Does anyone know of any open source O/RMs which currently work with ODP.NET? Thanks, blair

  • IOS/AIR Running and Debugging Issues with Flash Builder

    I'm having very frustrating intermittent issues running and debugging Flex applications on an iPad 3rd generation retina with Flash Builder 4.7. Until this morning, launching on device using both standard and fast packaging worked pretty well. Every

  • Work schedule rule generation dates

    Hi All; I need to create a report which displays the generation dates (from and to) of a work schedule rule. I have managed to find out that the generation dates in t-code PT01 are stored in structure PSHFT ( PSHFT-PRD01 and PSHFT-PRD01 ).  Is there