Newbie: Earth Centered Earth Fixed - Lat/Long Conversion, can it be done w/ Spatial?

This is an information request from a complete coordinate systems newbie:
1. Does Oracle Spatial in 9.0.1 have an entry in MDSYS.CS_SRS that
corresponds to the coordinate system commonly known as "Earth Centered, Earth
Fixed" - where would I look (besides the table itself - I already tried that
with the 8.1.7 EE to no avail - it may be because I don't know enough about how
coordinate systems are referenced (the common nomenclature used) and just
didn't recognize it when I saw it.)
2. Are there any existing pl/sql snippets of code that can handle coordinate
conversions between ECEF-Lat/Long, geodetic degrees-decimal degrees? (If yes,
where should I go to look for them? By the way, please, please say yes, there
are many such packages just like there are for unit conversions (like binary to
hex).)
3. Where should I look to get information on a product called Map Viewer which
was mentioned in the latest edition of Oracle Magazine (May/June 2002, p.25 -
it was said to be a part of the 9iAS suite of products - I looked all over the
documentation but didn't find any mention of it.)
Thank you very much for your time and attention!
Julien

This is an information request from a complete coordinate systems newbie:
1. Does Oracle Spatial in 9.0.1 have an entry in MDSYS.CS_SRS that
corresponds to the coordinate system commonly known as "Earth Centered, Earth
Fixed" - where would I look (besides the table itself - I already tried that
with the 8.1.7 EE to no avail - it may be because I don't know enough about how
coordinate systems are referenced (the common nomenclature used) and just
didn't recognize it when I saw it.)
2. Are there any existing pl/sql snippets of code that can handle coordinate
conversions between ECEF-Lat/Long, geodetic degrees-decimal degrees? (If yes,
where should I go to look for them? By the way, please, please say yes, there
are many such packages just like there are for unit conversions (like binary to
hex).)You can get the proper params from the EPSG <http://www.epsg.org>,
I recall seeing some coord conversion samples in the tutorials/sample code - look in the OTN library
MArk

Similar Messages

  • Does Spatial support "Earth Centered, Earth Fixed" to Lat/Long conversion?

    Does Spatial support "Earth Centered, Earth Fixed" to Lat/Long conversion? I've looked in coordinate list table but don't see "ECEF" (or anything that might by a synonym for ECEF) listed.
    Thanks,
    Julien

    Spatial does not support ECEF coordinates at this time, nor conversions to/from longitude, latitude, and height above the ellipsoid. It is possible that Spatial will support ECEF in a future release of the product.

  • Dist between two lat/long's in USA

    Hello,
    Can anyone please give me the function(Oracle or some other function) to find the distance between two points(Both of them are in lat/longs). Both the points are within the boundary of US.
    Thanks,

    Hi,
    In Oracle 8.1.6, we have Beta support
    for Coordinate Systems. There is
    Beta users guide available under PRODUCTS/SPATIAL.
    With this functionality, you can calculate
    the distance between two points
    very accuratly.
    Here is an example. I will go into details
    below. Hope this helps. Thanks.
    Dan
    ======
    SAMPLE SQL: (sorry about the formatting)
    select
    mdsys.sdo_geom.sdo_length (
    mdsys.sdo_cs.transform (
    mdsys.sdo_geometry (2002, 8307, null,
    mdsys.sdo_elem_info_array (1,2,1),
    mdsys.sdo_ordinate_array (
    -73.983014309,
    40.749544981,
    a.geometry.sdo_point.x,
    a.geometry.sdo_point.y)),
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT(
    'X', -180, 180, .00000005),
    MDSYS.SDO_DIM_ELEMENT(
    'Y', -90, 90, .00000005)),
    41004),
    .00000005) * 6.213712e-04 DISTANCE_IN_MILES
    from test_abi a
    where
    mdsys.sdo_nn (
    a.geometry,
    mdsys.sdo_geometry (
    1, 8307,
    mdsys.sdo_point_type (-73.983014309,
    40.749544981,
    null),
    null, null),
    'SDO_NUM_RES = 1') = 'TRUE';
    DESCRIPTION:
    ============
    1) The above query is returning the
    nearest point to
    (-73.983014309, 40.749544981)
    and also returning the distance in miles.
    TEST_ABI.geometry is stored in
    longitude/latitude with 8307
    as the SRID.
    Note, if you set the SRID in the
    SDO_GEOMETRY object, you must also
    set the SRID in USER_SDO_GEOM_METADATA.
    To find out more info on SRID 8307,
    you can execute the following:
    select wktext
    from mdsys.cs_srs
    where srid = 8307;
    SDO_NN is the operator used to find
    the nearest neighbor.
    For nearest neighbor queries, you
    may want to try using RTREE indexes,
    also Beta in 8.1.6.
    To create an RTREE index, omit
    SDO_LEVEL and SDO_NUMTILES from
    the create index statement of your
    spatial index.
    We plan to fully profile RTREE indexes
    in 8.1.7 and recommend them when
    appropriate. Nearest neighbor is an
    excellent candidate for an RTREE index.
    2) In the SELECT clause, we are calling
    two functions:
    SDO_LENGTH
    SDO_CS.TRANSFORM
    The first argument passed into SDO_LENGTH
    is the return value from
    CS_TRANSFORM (which will be a
    projected SDO_GEOMETRY object).
    The second argument to SDO_LENGTH
    is an SDO_TOLERANCE.
    3) The first argument to CS_TRANSFORM
    is an SDO_GEOMETRY constructor for a
    line string, where the first point of
    the linestring is
    (-73.983014309, 40.749544981),
    and the second point is the nearest
    neighbor resulting from SDO_NN.
    This goal here is to project the
    linestring so we can get an accurate
    result from SDO_LENGTH.
    The second argument to CS_TRANSFORM
    a dim_array.
    The third argument to CS_TRANSFORM
    is the target SRID. In this example,
    SRID 41004 is used. This will be
    fairly accurate for the continental US.
    The geometry constructor for the
    linestring will be projected to
    SRID 41004.
    If more accurate results are desired,
    you should use an SRID that corresponds
    to a specific state plane projection.
    Query the WKTEXT column in MDSYS.CS_SRS
    to pick appropriate SRID's for projection.
    i.e. If I knew my nearest neighbor result
    is going to be in Georgia, I might
    use SRID 1001 instead of 41004.
    4) In the result of the select list, I am
    multiplying by 6.213712e-04,
    the conversion factor from meters to
    miles.
    Hope this helps. Thanks.
    Dan

  • Convert LAT/LONG to X/Y

    Hello all,
    i've searched this forum to see how I can convert LAT/LONG values to XY coordinates.
    I've found this:
    SELECT
    sdo_geometry(2001, 8307, null, sdo_elem_info_array(1, 1003, 1),
    sdo_ordinate_array(52.849497, 5.723975, 52.883151, 5.999025))
    FROM DUAL
    I thought that when i executed this query, i'd see 2 values. But i was wrong.
    Is there a function that will return the XY when I give the LAT/LONG values ???

    You geometry does not validate (sdo_geom.validate_geometry(...) ,gtype and etype don't match!). You used a gtype 2001 (point) but in your elem_info_array (etype 1003) is an exterior polygonal ring. You need to fix your geometry first.
    When you said you want to converting lat/long to X/Y did you mean to convert a lat/long to a point (x,Y) in a projected coordinate system? If so, you can convert the geodetic geometry to a projected geometry(sdo_cs.transform), then use the SDO_UTIL.GETVERTICES function to retrieve all points in their order.
    From oracle spatial manual :
    SDO_CS.TRANSFORM(
    geom IN MDSYS.SDO_GEOMETRY,
    to_srid IN NUMBER
    ) RETURN MDSYS.SDO_GEOMETRY;
    SDO_UTIL.GETVERTICES
    Format
    SDO_UTIL.GETVERTICES(
    geometry IN SDO_GEOMETRY
    ) RETURN VERTEX_SET_TYPE;
    Description
    Returns the coordinates of the vertices of the input geometry.
    Parameters
    geometry
    Geometry for which to return the coordinates of the vertices.
    Usage Notes
    This function returns an object of VERTEX_SET_TYPE, which consists of a table of objects of VERTEX_TYPE. Oracle Spatial defines the type VERTEX_SET_TYPE as:
    CREATE TYPE vertex_set_type as TABLE OF vertex_type;
    Oracle Spatial defines the object type VERTEX_TYPE as:
    CREATE TYPE vertex_type AS OBJECT
    (x NUMBER,
    y NUMBER,
    z NUMBER,
    w NUMBER,
    id NUMBER);
    This function can be useful in finding a vertex that is causing a geometry to be invalid. For example, if you have identified a geometry as invalid by using the SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT function or the SDO_GEOM.VALIDATE_LAYER_WITH_CONTEXT procedure (both of which are documented in Chapter 15), you can use the GETVERTICES function to view the vertices in tabular format.
    Examples
    The following example returns the X and Y coordinates and ID values of the vertices of the geometries in the SHAPE column of the COLA_MARKETS table. (The example uses the definitions and data from Section 2.1.)
    SELECT c.mkt_id, c.name, t.X, t.Y, t.id
    FROM cola_markets c,
    TABLE(SDO_UTIL.GETVERTICES(c.shape)) t
    ORDER BY c.mkt_id, t.id;
    MKT_ID NAME X Y ID
    1 cola_a 1 1 1
    1 cola_a 5 7 2
    2 cola_b 5 1 1
    2 cola_b 8 1 2
    2 cola_b 8 6 3
    2 cola_b 5 7 4
    2 cola_b 5 1 5
    3 cola_c 3 3 1
    3 cola_c 6 3 2
    3 cola_c 6 5 3
    3 cola_c 4 5 4
    3 cola_c 3 3 5
    4 cola_d 8 7 1
    4 cola_d 10 9 2
    4 cola_d 8 11 3
    15 rows selected.

  • Converting Lat/Long to UTM or MGRS

    Has anyone written a Labview application that converts from Lat/Long to UTM or MGRS
    Solved!
    Go to Solution.

    If you know the conversions from Lat/Long, lay down the algorithm for that conversion and we can try to help you get it into LabVIEW format. If you don't know an algorithm, you can always try looking for examples at http://www.ni.com/community.  Good Luck!
    National Instruments
    Applications Engineer

  • My iPad Air will not recognize my newest Apple ID e-mail address for cloud access. It continually reverts back to an old e-mail address that I no longer have access to and don't remember the PW for. How can I fix this?

    My iPad Air will not recognize my newest Apple ID e-mail address for cloud access. It continually reverts back to an old e-mail address that I no longer have access to and don't remember the PW for. How can I fix this?

    Didn't work but thx
    Mark Flohr
    [email protected]
    949-636-3069

  • HT3529 I am currently deployed and was using my iMessage to be able to talk to family back in the states and my iMessage stopped working. It will no longer select my number to use as the send/receive. How do I fix this so I can continue to talk to family?

    I am currently deployed and was using my iMessage to be able to talk to family back in the states and my iMessage stopped working. It will no longer select my number to use as the send/receive. How do I fix this so I can continue to talk to family?

    Read here:
    http://support.apple.com/kb/TS2755

  • I have the converter to change pdf to word. Works sometime, other time says conversion is taking too long. Can I get what it has translated so I can use the parts?

    I have the converter to change pdf to word. Works sometime, other time says conversion is taking too long. Can I get what it has translated so I can use the parts?

    I would ask in the ExportPDF forum, Adobe ExportPDF (read only) (assuming that's the service to which you have subscribed). This is the Reader one.

  • Need of value mapping  and fixed values in (conversions)under graphical map

    hi.
    helo all.
    i just want to know what  is the need of value mapping  and fixed values in (conversions)under graphical mappping.
    can any body explain me with real time example .
    waiting for your response.
    bye.
    regards.
    seeta ram.

    Hi Seetha Ram,
       Value mapping:  Where we maintain a table of values which are mapped.
    based on the incoming value we can send the respective resultant value.
        for Eg: for language SAP maintains as EN  --> English  etc
    can u refer these
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
    Re: Value mapping table
    Thanks and Regards
    Harsha Vardhan.P
    **Reward points if found useful**

  • How to create a polygon with the Lat/Long Coordinates

    I have set of Lat/Long coordinates and I need to create a polygon geofence. Can any of you know how to do this please share your thoughts with me
    I have the following coordinates
    -84.3087, 39.3465; -84.3118904, 39.3306296; -84.3265158, 39.3372422; -84.2866, 39.3371; -84.2958, 39.3284; -84.2888, 39.3241
    Thanks

    Assuming these are long/lat values, the polygon can be defined as:
    sdo_geometry(2003, 8307, null, sdo_elem_info_array(1, 1003, 1),
    sdo_ordinate_array(-84.3087, 39.3465, -84.3118904, 39.3306296, -84.3265158, 39.3372422, -84.2866, 39.3371,
    -84.2958, 39.3284, -84.2888, 39.3241, -84.3087, 39.3465))
    siva

  • I have the Iphone4 and have a few txt msgs that are long conversations that I would like to send to my email account to have a record of them.  Is there a way I can do that?  Thnx!

    I have the Iphone4 and have a few txt msgs that are long conversations that I would like to send to my email account to have a record of them.  Is there a way I can do that?  Thnx!

    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php

  • My CS4 PS no longer recognised the iPhoto library since a new video card was installes a few days ago. How do i fix this? I can drag and drop but then I can't use camera raw feature.Tks

    My CS4 PS no longer recognised the iPhoto library since a new video card was installes a few days ago. How do i fix this? I can drag and drop but then I can't use camera raw feature.Tks

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • How to create a circle object with center(lat/long) and radius(kilo)?

    Hi
    I want to create a circle in my table, the data I have are the coordinate of center(lat/long) and the radius of the circle. The srid of the table is lat/long.
    Did I have to use some fomula to compute the coordinate of three points on the circle? If it's true, is there any example procedure you can show me?
    Thanks
    Lannie

    When a circle is created using SDO_BUFFER in geodetic space,
    the result is a circle with stroked arcs (as in arc_densify function).
    So the result from SDO_BUFFER will be a valid polygon without arcs,
    but approximate circle with straight lines.
    For example, in the example given by Dan, this is what you get:
    SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(-120, 42.09003, -120.03128, 42.086958, -120.06042, 42.0779524, -120.08543, 42.0636292, -120.1046, 42.0449675, -120.11663, 42.0232424, -120.1207, 41.9999365,
    -120.11654, 41.9766391, -120.10445, 41.9549369, -120.08526, 41.9363067, -120.06028, 41.9220148, -120.0312, 41.9130321, -120, 41.9099686, -119.9688, 41.9130321,
    -119.93972, 41.9220148, -119.91474, 41.9363067, -119.89555, 41.9549369, -119.88346, 41.9766391, -119.8793, 41.9999365, -119.88337, 42.0232424, -119.8954, 42.0449675, -119.91457, 42.0636292, -119.93958, 42.0779524, -119.96872, 42.086958, -120, 42.09003))
    siva

  • Calculating distance between Lat Long points

    I'm wondering if anyone out there has done this before in LabVIEW.  Does anyone have a model of the "Great Circle" calculation?  I have a file of lat/long points that I need to calculate the distance between.  Any help??
    V/r,
    Chris

    I haven't done it in LV, but if you go to Wikipedia and search for Great Circle Distance you'll find the formual and an example.

  • How to get GML data in LAT/LONG format rather than LONG/LAT format

    I want to generate GML from my spatial data but sdo_util.to_Gmlgeometry extracts data in LONG/LAT format where as I need it in LAT/LONG format.
    Is there an easy way to extract data in LAT/LONG format otehr than parsing the gml and then switching the Lat and long.

    Hi,
    I think it would have to do how you store your geometries, you might need a transformation before, notice the srsName from the resulting query:
    SELECT TO_CHAR(SDO_UTIL.TO_GMLGEOMETRY(MDSYS.SDO_GEOMETRY(2001, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1), MDSYS.SDO_ORDINATE_ARRAY(170.5,-43.5))))
    from dual
    -- Result:
    <gml:Point srsName="SDO:8307" xmlns:gml="http://www.opengis.net/gml"><gml:coordinates decimal="." cs="," ts=" ">170.5,-43.5 </gml:coordinates></gml:Point>
    So without a transformation I would say it would be hard to get:
    http://trac.osgeo.org/gdal/wiki/rfc20_srs_axes
    If I come across a simple solution (without some fancy manipulation of the ordinates on a custom function/package) I will post it.
    Cheers

Maybe you are looking for

  • How can i delete unwanted songs from iTunes match?

    With a limit on how many songs that can be uploded to iTunes match, how can i remove songs that i didn't want uploaded to the Cloud?

  • Classifications on Service Ticket

    Hi all, I'm trying to track down the tables that stores the values which a selected in a Service Ticket for the category modeller classifications. I know all the source information is held in the Subject Profile structures and the CRMC_ERMS_CAT* tabl

  • Can I make OS 10 Work for Me?

    Hello, I have been using BB with Verizon for many years for my company and I have my pre-OS 10 device customized such that I get pushed only the messages I want on my device and get notified by the sounds/vibrations via the profiles I want. This is c

  • When i updated the software on a new computer i lost my purchased apps and music how do I get them back

    I purchased a new laptop and tried to move my itunes to it .when I updated the software I didnt get my purchased apps and it wiped out my loaded music library can I get it back

  • New FW upgrade - no apps will load anymore!?

    So i upgraded to the new FW several days ago (in hindsight it was a huge mistake) and now only two of my apps work- MySpace and Facebook as they released updates asap. I have 3 pages of Apps, NONE of which will open. I've downloaded apps recently tha