New SRID (3857) in 11.2.0.2 (use instead of 3785)

The new srid epsg:3857 in 11.2.0.2 does not require a tfm_plan or the use case use_spherical to correctly line up with google or bing background maps. The doc wasn't updated in time. See the sample results below.
. First geom. In 8307, 2nd in 3785 with no tfm_plan or use case, 3rd 3785 with use_spherical, 4th 3857.
MVDEMO@sdolnx2>select * from v$version ;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
MVDEMO@sdolnx2> select city, location, sdo_cs.transform(location, 3785) loc3785_oldcs,
sdo_cs.transform(location, 'USE_SPHERICAL', 3785) loc3785_usespherical,
sdo_cs.transform(location, 3857) loc3857_newWebMercator from cities where rownum < 4
CITY
LOCATION(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
LOC3785_OLDCS(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINA
LOC3785_USESPHERICAL(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO
LOC3857_NEWWEBMERCATOR(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, S
New York
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-73.943849, 40.6698, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3785, SDO_POINT_TYPE(-8231391.6, 4935892.96, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3785, SDO_POINT_TYPE(-8231391.6, 4963758.56, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3857, SDO_POINT_TYPE(-8231391.6, 4963758.56, NULL), NULL, NULL)
Los Angeles
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-118.4112, 34.112101, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3785, SDO_POINT_TYPE(-13181475, 4019893.75, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3785, SDO_POINT_TYPE(-13181475, 4043864.4, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3857, SDO_POINT_TYPE(-13181475, 4043864.4, NULL), NULL, NULL)
Chicago
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-87.684965, 41.83705, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3785, SDO_POINT_TYPE(-9761045.7, 5108079.09, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3785, SDO_POINT_TYPE(-9761045.7, 5136601.49, NULL), NULL, NULL)
SDO_GEOMETRY(2001, 3857, SDO_POINT_TYPE(-9761045.7, 5136601.49, NULL), NULL, NULL)

Hello Fidel,
thansk for the completion - with the name of the hidden parameter i was able to find the blog in my RSS feed reader
http://oraclue.com/2010/10/21/oracle-11-2-0-2-patch-set-new-feature-and-change/
http://oradbastuff.blogspot.com/2010/09/11202-11g-release-2-patch-set-2.html
Regards
Stefan

Similar Messages

  • Not so spherical mercator?  SRID 3857?

    Hi folks,
    Spent some time yesterday getting schooled on all the politics of last year's EPSG 3785 to 3857 swap. I guess they just don't like that sphere (or rather the math). I was wondering first off if anyone had the 11gR2 CS inserts for 3857. I saw a post that Mike Horhammer was working on doing this last spring. How about the Oracle folks? Will 3857 be showing up soon as a stock SRID? Being WGS84 based it probably not that big a deal to set up but I was just hoping someone else had it handy.
    Secondly, any idea how this change will work in practice? The EPSG has not only created the new SRID but they definitively retired the old. There is no mention of 3785 in the EPSG database any longer and ideally this number could be recycled to some other purpose at any time. So what happens now to the old Spherical Mercator cs? Someone over there at Oracle took all the trouble to code the new spherical math routines into SDO_CS for 11gR2. This came to my attention via looking at the situation at ESRI. They seem to be just accepting that there are now two Web Mercator coordinate systems. In the 9.3 product 3785 = 102113 and 3857 = 102100. ArcGIS 10 just uses 3785 and 3857. I am not sure what happens if 3785 get recycled to some other purpose at EPSG. Will Oracle also retain 3785 and just add 3857 and thus have the two Web Mercator coordinate systems? It seems like deleting 3785 could create some problems.
    Anyhow, interested in any thoughts or suggestions you all have on the matter.
    Cheers,
    Paul

    Good question Paul...
    I'm working on putting together an image catalog for spatial -> WMS -> Google Tiles, and realized I needed to use 3785 to make it work better.
    Short term, I guess it doesn't really matter as I doubt it will go away so suddenly in software. But... long term - I'm no sure what to think.
    Bryan

  • Creation of new SRID ... keep getting errors

    Hi all
    I have trouble creating new SRID , the Images i have are in LCC projection with Everest Spheroid and Indian Datum . There is no SRID for this combination in SDO_COORD_REF_SYSTEM or CS_SRS tables. So i thought of creating a new SRID . Here is the insert statement which obviously wont work in 10gr2
    insert into mdsys.cs_srs values ('TEST SRS',10000001,10000001,'TEST', 'PROJCS["Test Proj", GEOGCS ["Indian (Bangladesh, etc.)", DATUM ["Indian (Bangladesh, etc.)", SPHEROID ["Everest", 6377276.35, 300.8017], PRIMEM [ "Greenwich", 0.000000 ], UNIT ["Decimal Degree", 0.01745329251994330]], PROJECTION ["Lambert Conformal Conic"], PARAMETER ["Standard_Parallel_1", 4.0], PARAMETER ["Standard_Parallel_2", 40.0], PARAMETER ["Central_Meridian", -80.000000], PARAMETER ["Latitude_Of_Origin", 22.0], PARAMETER ["False_Easting", 0.000000], PARAMETER ["False_Northing", 0.0000], UNIT ["Meter", 1.000000000000]]',NULL); /
    When i try to create new entry for this Projection by filling corresponding values in SDO_COORD_REF_SYSTEM , SDO_COORD_OPS,SDO_COORD_OP_PARAM_VALS i get the following errors .
    insert into sdo_coord_op_param_vals(
    ERROR at line 1:
    ORA-02291: integrity constraint (MDSYS.COORD_OP_PARA_VAL_FOREIGN_METH) violated - parent key not found
    INSERT INTO SDO_COORD_OPS (
    ERROR at line 1:
    ORA-02291: integrity constraint (MDSYS.COORD_OPERATION_FOREIGN_METHOD) violated - parent key not found
    insert into sdo_coord_op_methods(
    ERROR at line 1:
    ORA-13199: This cannot change the actual implementation status of a method.
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_COORD_OP_METHODS_TRIGGER", line 2
    ORA-04088: error during execution of trigger 'MDSYS.SDO_COORD_OP_METHODS_TRIGGER'
    the same case with SDO_COORD_REF_SYSTEM
    Sorry if it is a dumb question , but i have read the manual , went thru the forum messages before i tried this . Still i dont seem to get it right .
    Thanks
    Ab

    yup .. that was a stupid question to ask..
    Just a lil bit of patient reading of the manual helped.
    ignore this thread
    Ab

  • Check/Create new SRID

    Hi,
    I have a OGC WKT Projection String as below.
    "PROJCS["Everest_Modified_Lambert_Conformal_Conic",GEOGCS["GCS_Everest_Modified",DATUM["Everest_Modified",SPHEROID["Everest_1830_Modified",6377304.063,300.8017]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",77.53055555555555],PARAMETER["Standard_Parallel_1",27.08333333333333],PARAMETER["Standard_Parallel_2",27.25],PARAMETER["Latitude_Of_Origin",27.16111111111111],UNIT["Meter",1.0]]"
    Now I need to check whether this projection is already available or not. What are the steps to do this?
    If not available then how to create a new SRID and its steps? In what tables changes will occur?
    What is the procedure to check and create SRID for Geodetic and Projected coordinate System with an example.
    I am using 11gR2.
    Thanks & Regards
    Gouse

    Gouse,
    To check, the simplest is possibly querying the CS_SRS table...
    PROJCS["Everest_Modified_Lambert_Conformal_Conic",
      GEOGCS["GCS_Everest_Modified",
        DATUM["Everest_Modified",SPHEROID["Everest_1830_Modified",6377304.063,300.8017]],
        PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],
      PROJECTION["Lambert_Conformal_Conic_2SP"],
        PARAMETER["False_Easting",0.0],
        PARAMETER["False_Northing",0.0],
        PARAMETER["Central_Meridian",77.53055555555555],
        PARAMETER["Standard_Parallel_1",27.08333333333333],
        PARAMETER["Standard_Parallel_2",27.25],
        PARAMETER["Latitude_Of_Origin",27.16111111111111],
             UNIT["Meter",1.0]]
    -- Try...
    select srid, cs_name, wktext
      from cs_srs
    where UPPER(wktext) like '%EVEREST%MODIFIED%';Nothing with Lambert in it.
    To create a new SRID, see the documentation "6.9 Creating a User-Defined Coordinate Reference System" as it is quite clear on what to do.
    regards
    SImon

  • I have itunes directory on an external hard drive and want to direct a new installation of itunes on windows 8 to use it. I tried holding down ctrl and clicking itunes and after many tries got it to work one time. When I went back in later it had reverted

    I have itunes directory on an external hard drive and want to direct a new installation of itunes on windows 8 to use it. I tried holding down ctrl and clicking itunes and after many tries got it to work one time. When I went back in later it had reverted back to a blank version of itunes and I cant get ctrl to work again. Any other ideas?

    This is sometimes caused by a problem with the iTunesPrefs.xml file, normally found at C:\Users\<User>\AppData\Local\Apple Computer\iTunes\iTunesPrefs.xml. Try dragging this to the desktop and trying again.
    Alternatively the problem may be that you have McAfee AV and it is preventing iTunes from updating the same file and thus causing the problem. See Why does iTunes delete my itunesprefs.xml? for details.
    tt2

  • And need the new iTunes 11.1 to be able to use my iPhone on iTunes but I need the new mac software update OXS 10.6.8, but my mac doesn't need or have an update what should I do! I'm upset :'(

    and need the new iTunes 11.1 to be able to use my iPhone on iTunes but I need the new mac software update OXS 10.6.8, but my mac doesn't need or have an update what should I do! I'm upset :'(

    The requirements for iTunes:
    Macintosh System Requirements
    Mac computer with an Intel Core processor
    OS X version 10.6.8 or later
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store
    Your Mac must be able to run OSX 10.6.8. If you can run that OSX then you can run iTunes 11.1.
    Which Mac do you have?
    MJ

  • When I upgraded to ios 5, it asked me a for a new game center name.  How do I use my old game center name, since it makes me start some games over without it?

    When I upgraded to ios 5, it asked me a for a new game center name.  How do I use my old game center name, since it makes me start some games over without it?

    Carefully follow steps 1-9 outlined by wjosten in this post: https://discussions.apple.com/message/13356770#13356770.  This will not, however, avoid wiping any non-purchased media from your phone (ripped CDs, etc.) as this is only synced one way: from your computer to your phone.  You will have to either rebuild your iTunes library with this content and sync again to restore it to your phone, or purchase 3rd party software to copy it from your phone to iTunes prior to syncing (such as Touch Copy).

  • I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    I try to open iphoto and it comes up with You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto. I have downloaded photo manager and it's telling me to update but it wont update...

    iPhoto is Apple's included program to manage your photo's and pictures.
    It receives updates over time with Software updates and new machine or iLife purchases.
    When iPhoto gets updated or a newer version is used, it may alter iPhoto support files, but newer iPhoto versions usually always compatible with older files which it then updates.
    If you used a newer iPhoto on your iPhoto support files, then they got altered to the newer format, older iPhoto versions can't read the older format.
    Somewhere along the line you somehow got a older version of iPhoto on your computer, you need to fine the newer version of iPhoto (not this photo manager, sounds like another program)
    Or somewhere along the line you used a newer iPhoto version (like on another Mac) and it altered the iPhoto support files on your older version of iPhoto.
    So the key here is to find the newest version of iPhoto and use that to access your iPhoto support files.
    If you didn't access your iPhoto support files from another Mac, then you should have the newer iPhoto version on your computer.
    Once you find it, and get it in the Dock, you should remove the older iPhoto version from your computer to prevent this from happening again.
    Lastly, if the newer version of iPhoto is somehow gone off your computer, you should be able to get a copy off the latest OS X install disk or iLife using a free program called Pacifist.
    http://www.charlessoft.com/
    Then you need to check for updates for iPhoto in the program itself, the current version is 9.1.2

  • I keep receiving this message "You can't open your current photo library using this version of iPhoto" You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto."

    I keep getting this message. What do I do? You have made changes to your photo library using a newer version of iPhoto. Please quit and use the latest version of iPhoto.

    https://itunes.apple.com/ca/app/iphoto/id408981381?l=en&mt=12

  • TS4062 My Iphone won't appear in my devices in Itune.... And the WiFi does not work on my phone.... I seems like there is no solution to update my phone to the new ios on my computer or WiFi without using the 3g because of this!!! help me out

    My Iphone won't appear in my devices in Itune.... And the WiFi does not work on my phone.... I seems like there is no solution to update my phone to the new ios on my computer or WiFi without using the 3g because of this!!! help me out

    Hello there, TempestBelcher.
    It seems you've covered all the bases, but feel free to review the iPhone Troubleshooting Assistant for connectivity here:
    Apple - Support - iPhone - Calls Troubleshooting Assistant
    http://www.apple.com/support/iphone/assistant/calls/#section_0
    If you've followed all the instructions then there are a few good recommendations for what to do next in the last step.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Whenever I try to download a new application, my parent's apple id shows up instead of mine which is on my computer. My mom doesn't want to put down her credit card information because I use gift cards. How do I change the ID on my ipod to my apple ID?

    Whenever I try to download a new application, my parent's apple id shows up instead of mine which is on my computer. My mom doesn't want to put down her credit card information because I use gift cards. How do I change the ID on my ipod to my apple ID?

    thank you so much lllaass. im an idiot for not finding that out.

  • Do I have to create a new account for my iPhone, or can I use my iPod Touch account?

    I have an iPod Touch 32GB which I have an iTunes account for, & I need to know whether I have to create a new iTunes account for my new iPhone 4 16GB, or whether I can use the other one for. Would syncing cause problems?

    You don't need another iTunes account for your iPhone.  You can link as many iDevices to your account as you wish.  Each device will have its own name/identity and you can sync different apps/music/media to each.

  • I have 2 apple id's with different apps and data saved under each.  It's very annoying so now I want to create a new id with my primary email address I use now.  If I do that is there any way to transfer all my saved apps and app data like game saves etc?

    I have 2 apple id's with different apps and data saved under each.  It's very annoying so now I want to create a new id with my primary email address I use now.  If I do that is there any way to transfer all my saved apps and app data like game saves etc so I don't lose all of that information and can easily switch to a singular apple id?

    Apple does not transfer content bought with one Apple ID to another Apple ID. Apple will not merge two Apple IDs.
    If most of your content was bought with the Yahoo! Apple ID but you now want the Gmail address for your Apple ID, the trick will be to change the address used for the Yahoo ID with the Gmail address. However, to do that you must first free the Gmail address from that other Apple ID. Use the instructions from Apple to substitute another address that is not used as an Apple ID for your Gmail address in the Apple ID with the Gmail address. Then, when the Gmail address is no longer used in an Apple ID, you can use the same instructions to substitute the Gmail address for the Yahoo address in the Apple ID with the Yahoo address.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • Our granddaughter has a ipod. She's getting a iphone and a mini idpad.  what is the best way to set them up. Does she need a new apple id and password or would she use the same one she has for her ipod

    our granddaughter has a ipod. She's getting a iphone and a mini idpad.  what is the best way to set them up. Does she need a new apple id and password or would she use the same one she has for her ipod

    Just use the same one on all devices.

  • Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.

    Hi, just need to know how to get my music, video, pictures and apps form my iPhone to my new laptop as the old computer, which I used before was stolen. I only have my phone left and if I try to conect it to my new laptop it's trying to delete everything.

    I have also noticed all my settings won't stay set, example....I removed the check mark from "third party cookies", the when I close Firefox and reopen the check mark is back, also my tool bar has screwed up....can't reset, been having trouble the up grade.

Maybe you are looking for