Oracle Spatial LRS point X and Y.

I’m having some problems with LRS points.
Two tables: A and b. Table A contains valid LRS linestrings; table B (non spatial) is a list of points with stated eastings and northings columns that exist in close proximity to the linestrings. Points are associated to the linestring by a.unique_id.
I’m successfully projecting the b.points onto their a.linestrings using SDO_LRS.PROJECT_PT passing the a.geometry and constructing a geometry from b.eastings and b.northings.
So far so good. I can get the measure by nesting SDO_LRS.GET_MEASURE; and offset with SDO_LRS.GET_OFFSET. Meaning that the returned value from SDO_LRS.PROJECT_PT is a valid LRS point (SDO_GTYPE=3301):
(3301, 81989, (0, 0, ), (1, 1, 1, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ), (525121.71247406, 185976.696321595, 21.4631188722804, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ))
This is my problem: how do I extract the X and Y from the SDO_LRS.PROJECT_PT returned value?
This work so far:
SELECT a.unique_id,
b.point_id,
SDO_LRS.GET_MEASURE
SDO_LRS.PROJECT_PT
a.geoloc,
b.SDO_GEOMETRY (2001,81989,SDO_POINT_TYPE(b.def_easting,b.def_northing,NULL),NULL,NULL)
ABS(SDO_LRS.FIND_OFFSET
a.geoloc,
b.SDO_GEOMETRY (2001,81989,SDO_POINT_TYPE(b.def_easting,b.def_northing,NULL),NULL,NULL)
FROM road_network a,points b
WHERE a.unique_id = b.roads_id
I’d like to add the following selections but it does not work:
SDO_LRS.PROJECT_PT
a.geoloc,
b.SDO_GEOMETRY (2001,81989,SDO_POINT_TYPE(b.def_easting,b.def_northing,NULL),NULL,NULL)
).SDO_POINT.X,
SDO_LRS.PROJECT_PT
a.geoloc,
b.SDO_GEOMETRY (2001,81989,SDO_POINT_TYPE(b.def_easting,b.def_northing,NULL),NULL,NULL)
).SDO_POINT.Y
And this one neither (just a couple of brackets, sign of desperation!):
(SDO_LRS.PROJECT_PT
a.geoloc,
b.SDO_GEOMETRY (2001,81989,SDO_POINT_TYPE(b.def_easting,b.def_northing,NULL),NULL,NULL)
)).SDO_POINT.X
(SDO_LRS.PROJECT_PT
a.geoloc,
b.SDO_GEOMETRY (2001,81989,SDO_POINT_TYPE(b.def_easting,b.def_northing,NULL),NULL,NULL)
)).SDO_POINT.Y
It always returns 0.
When you look at the SDO_LRS.PROJECT_PT returned value you’ll see the following only ordinates: 525121.71247406, 185976.696321595, 21.4631188722804
525121.71247406 being the X;
185976.696321595 the Y; and
21.4631188722804 the LRS measure.
So, how do I get those X and Y as part of my query results? Thanks.
Edited by: JG1981 on Jun 25, 2010 3:30 PM

A bit of time has past... I got back to this piece of work again. Thanks for the tips above, I’ve successfully implemented some of those. It works, but it’s too slow for production.
To summarise, this is the real world problem I’m dealing with:
Let’s say I’ve got a table containing pedestrian’s footways; each footway is referenced to its road network section (link), many footways records to one section. I have to calculate the length of each individual footway along its road section.
Theoretically this is done by projecting all the footway vertices onto its road section and returning the difference between the highest LRS value and the lowest. The problem is slightly made worse by the fact that each footway polygon can actually be made up of multiple elements (multipolygon).
The following is a sort of high level logic. I’d like to know if any of you agree with this:
1.     A temporary table t is created and populated with the following columns:
a.     Footway_id  existing identifier;
b.     Element_id  sequential and unique to the footway record;
c.     Vertices  LRS point (projected point);
2.     The table t is then queried: for each footway[sum[ each element (maxLRS-minLRS)]], in short, for each footway multipolygon the length of each element is added together to give the total length of the footway.
Is this too clumsy? Is there another way to go about? Perhaps without the use of a temporary table? Any suggestion’s welcome.
Thanks

Similar Messages

  • Oracle spatial 11g - 3D-Geometry and KML-Export

    Hi,
    I'm currently working with an Oracle Spatial 11g - database and there with 2d- and 3d-geometries. With this Version you can extrude 2d's to 3d's and calculate their volumes. This works fine.
    The problem is to save the extruded areas as 3d-geometries in a specific table. Enclosed you will find the SQL-Code of the current workflow:
    *1. Create tables for the 2d- and 3d-geometries (incl. metadata and spatial index)*
    -- table for 3d-geometry
    CREATE
    TABLE ta_geb(
    geom MDSYS.SDO_GEOMETRY
    ,area NUMBER(12,3)
    -- metadata 2D
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    VALUES
         'ta_geb',
         'geom',
    MDSYS.SDO_DIM_ARRAY
    (MDSYS.SDO_DIM_ELEMENT('X',4439900.00, 4440020.00, 0.005),
    MDSYS.SDO_DIM_ELEMENT('Y', 5664050.00, 5664130.00, 0.005)
    31468
    -- spatial index 2D
    CREATE
    INDEX ta_geb_index ON ta_geb(geom) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    -- table for 3d-geometry
    CREATE
    TABLE ta_3dgeb(
    geom3d MDSYS.SDO_GEOMETRY
    -- metadata 3D
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    VALUES
         'ta_3dgeb',
         'geom3d',
    MDSYS.SDO_DIM_ARRAY
    (     MDSYS.SDO_DIM_ELEMENT('X',4439900.00, 4440020.00, 0.005),
         MDSYS.SDO_DIM_ELEMENT('Y', 5664050.00, 5664130.00, 0.005),
         MDSYS.SDO_DIM_ELEMENT('Z', 0, 200, 0.005)
    31468
    -- spatial index
    CREATE
    INDEX ta_3dgeb_index ON ta_3dgeb(geom3d) INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_INDX_DIMS=3');
    *2. insert 2d-geomtry*
    INSERT
    INTO
    ta_geb
    VALUES
    MDSYS.SDO_GEOMETRY(
    2003
    ,31468
    ,NULL
    ,MDSYS.SDO_ELEM_INFO_ARRAY(
    1
    ,1003
    ,1
    ,MDSYS.SDO_ORDINATE_ARRAY(
         4439975.91,5664077.07,
              4439967.98,5664072.06,
              4439975.33,5664060.42,
              4439983.26,5664065.43,
              4439975.91,5664077.07
    ,null --area
    *3. calculate volume of the extruded area*
    SELECT SDO_GEOM.SDO_VOLUME(SDO_UTIL.EXTRUDE(
         GEOM,
         SDO_NUMBER_ARRAY(0),
         SDO_NUMBER_ARRAY(10),
         'false', --validation
         0.005),0.005)
    from ta_geb;
    This works fine so far. Now I wanna insert the extruded geometry (now 3D) in the table ta_3dgeb. All my attempts were in vain...
    *4. insert extruded geomtry*
    INSERT
    INTO
    ta_3dgeb
    select
    SDO_UTIL.EXTRUDE(
              GEOM,
              SDO_NUMBER_ARRAY(0),
              SDO_NUMBER_ARRAY(10),
              'false', --validation
              0.005)
    from ta_geb;
    I got the following error message after executing this Code:
    ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
    ORA-13365: layer SRID does not match geometry SRID
    ORA-06512: in "MDSYS.SDO_INDEX_METHOD_10I", line 709
    ORA-06512: in "MDSYS.SDO_INDEX_METHOD_10I", line 225
    Then I tried to change something on the metadata and spatial indices, wihtout success. Does anyone has advices to solve the problem??
    Afterwards I would like to export the 3d-geometry in a KML file to visualize it in Google Earth. Therefore oracle provides a tool. But I didn't managed it to export the geometry. Any hints for the KML export or are there any other tools alternatively??
    Thanks for any suggestions!
    Regards

    Extrude does not automatically populate the SRID for the resulting geometry as there may not be a 3D equivalent of the 2D SRID defined
    in the DB.
    So the extruded geometry comes out without the SRID. In your case, since you are creating an index on the ta_3dgeb table
    before inserting the extruded data, it is causing this failure.
    So drop the index on the ta_3dgeb table and do the inserts into it.
    Then you can manually update the geometries with the SRID if there is a corresponding 3D SRID for 31468.
    Otherwise, you can use 31468.
    siva

  • Creating an Oracle Spatial database in 10g and connecting ArcGIS

    I have a set of shapefiles that I want to convert into Oracle Spatial 10g and then be able to view these with the capability of ArcGIS 9 (without using ArcSDE).
    From what I've read, I think this could be done by using ODBC. Once that connection is made, will I then be able to use the full functionality of ArcGIS especially read/write functions to edit the information in Oracle Spatial?
    What data formats does Oracle Spatial in 10g support. I am concerned about raster data, CAD data, Survey data etc

    The shape files can be loaded into Oracle spatial using shp2sdo.exe available on web.To view the GIS data in ArcGIS ,ArcGIS needs the layers to be registered.Therefore you need Arcsde for registering the layers.But for viewing the data in Arcgis we do not need arcsde ,we can view the data using direct connect.For editing the data we can use ODBC connection.
    About raster data,we can load tiff,jpeg,bmp,png,gif using georaster tools provided by oracle into georaster tables.
    Thanks
    PC Rao

  • Oracle Spatial - LRS component

    Hello,
    I am working as a consultant for a transportation department for building Highway Database Management system .Transportation department uses several Linear Referncing Methods such as Milepoint, Station, Refrence Marker etc to locate an attribute on a route . I am new to Oracle - LRS but have heared that by implementing Oracle-LRS , it can locate route attribute and events by one measure and not with x and y coordinate. Does anyone have implemented Oracle-LRS , if so I would like to know how can I design my dastabase based on LRS.
    What other problems Oracle LRS can solve in my case ?
    I will appreciate if some one can pass me design code etc to look into.
    Thank you.
    Suhail

    Thanks for your advice . I donot have 9i but hope to get very soon, I will give a shot then . One more thing which you mentioned in your previous answer is that one has to write extensive PL/SQL code to use LRS. In my case , I have a simple table of roads and would like to clip a segment of road dynamically and then based on the result I would like to fetch some data from other tables . But I lost here, because I donot have a way to relate data in the other table. I have a simple table say routes to store road geometry and in other route_features table I am storing road features ( attribute of the table is rc_id (pk),route_id_fk,feature_id_fk,feature_value,begin_milepoint,end_milepoint. Both tables are related with one key ie ROUTE_ID .I want to clip a segment of route from first table and then would like to get the data from the second table. I have no idea how I can accomplish this in PL/SQL. Here is my code what I am trying to do
    SQL> SELECT SDO_LRS.CLIP_GEOM_SEGMENT(route_geometry, 15, 30)
    2 FROM routes WHERE route_id = 1;
    SDO_LRS.CLIP_GEOM_SEGMENT(ROUTE_GEOMETRY,5,10)(SDO_GTYPE, SDO_SRID, SDO_POINT(X,
    SDO_GEOMETRY(3302, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 2, 1), SDO_ORDINATE_ARRAY(
    5, 4, 5, 8, 4, 8, 10, 4, 10))
    Now in the above result I have the output which is based on x,y,m . How I can use this to get feature_id_fk,feature_value data from teh second table? This is what you mentioned that requires lotof Pl/SQL programming. Could you share soem code here how to accomplis my task.
    I will appreciate your input.
    Thank you.
    Suhail

  • Oracle Spatial RDF data model and database edition

    Hi: Can some one please let me know the Oracle edition that support the RDF data mdoel.
    According to my understaning it is Oracle 10g Enterprsie edition, with the Spatial option. If this is true; is installing the enterprise edition will already give me the Spatial option? or do I have to isntall the Spatial data model as a seperate module. Besides this is installing the Spatial data model already give the RDF capability, or again RDF is a sepeare module that need to be installed seperately?
    Thanks in advance
    Regards,
    Rashid.

    Hi Axel,
    You could use the download of Oracle 10g available on OTN at http://www.oracle.com/technology/tech/semantic_technologies/index.html. This can be used free for development, but not for deployment. As long as you use it just for development during your thesis and do not deploy it in a production environment it should be OK to use the free download.
    Along with the free download we recommend also using the patch (RDF specific patch for 10.2.0.1 database) that is available by clicking on 'software' on the same page.
    Melli

  • Oracle Spatial and Oracle Forms

    Hi,
    Does anyone have experience with Oracle Spatial and Oracle Forms?
    I have generated a form, which is based on a view. The view uses the mdsys.sdo_relate operator. Somehow I am unable to get the form to perform (to get one record it takes over 20 minutes). While useing sql-navigator to process the same statement it seems no problem. The query that also uses the view, is then processed in 10 seconds.
    I also noticed that when text-functions like ' lower' of ' upper' are used to query the view, the query is processed within 15 seconds. If I don't use ' lower' or ' upper' it takes a long time (> 20 minutes) to process the query. Is it possible that this causes the bad performance of the form?
    On metalink I have found that forms and spatial do not cooperate because of the pl/sql version that
    forms6 uses. There is no solution presented, does anyone know of a work around?
    My configuration is:
    Oracle 8.1.7 on WIN2K @ PIII-800Mhz 256 Mb memory.
    Formsbuilder 6
    If requested I can post the queries that I have made.
    With regards,
    Gerjan Walrecht
    [email protected]
    null

    Hello Priya,
    Look into the following.
    1. Book - Pro Oracle Spatial for Oracle Database 11g by r. Kothuri, A. Godfrind, E. Beinat. This book provides a nice introduction on Oracle Spatial concepts and have examples.
    2. Look at the Oracle Spatial & Graph User Guide
    2. Book - Applying and Extending Oracle Spatial by S. Greener and S. Ravada. This book provides hands on information for advanced oracle spatial application developers. Practical guide on hands-on examples, Data models and  develop cross-vendor database solutions.
    3. This oracle spatial forum, once you understand these concepts.
    In the future consider Certification on Oracle Spatial 11g Certified Implementation Specialist.
    Best
    Navaneet

  • Oracle Spatial 10g

    Hello all
    I would like to know if is it possible to install the 10g Spatial functionality in a previous version of the database (8.1.7).
    We want to work with Oracle Spatial + ArcSDE (with versioning and Spatial as Geometry Storage) + ArcGIS-ArcIMS, but the editing software will be AutoCAD.
    We will get from the database those elements whe want to edit and put it then in AutoCAD layers . To limit the traffic, we only need the geographic primitives (points and arc, but no polygons), but as we are editing polygons, we need a process that rebuild topology. I think that the new Oracle Spatial 10 g topological functionalities could help us (so we can insert arcs in a table and get the polygons they are building, and dangle arcs).
    I suppose it will not be possible to edit directly to the geodatabase feature class if it is versioned (so all the changes will appear as consolidated), but, is it possible (and of course, easy) to rebuild via SQL an ArcSDE version?
    And finally:
    Can (and how) we use Oracle WorkSpace Manager whit ArcSDE??? , and only with AutoCAD? Any experience? I´m thinking about spatial index and mdsys metadata table. Must be these tables registered as "versioned" with Oracle WorkSpace Manager to work with spatial data?
    Thank you for all
    Jesús de Diego

    Hello all again
    First of all, thank you for your quick reply.
    I can explain a bit more what we wanna do:
    we're in a multi-platform environ. We've ArcGIS users, AutoCAD users and a ArcSDE DB. We don't want AutoCAD users to migrate to ArcEditor, but they need to edit corporative (DB) data, and, in the other hand, there will be others editors using ArcEditor capabilities, so it is possible we will need versioned (ArcSDE) data.
    I think we can edit an ArcSDE version vía AutoCAD:
    1º Data storage will be Oracle Spatial.
    2º A new version over the default will be created.
    3º When an AutoCAD editor request spatial data, we can, vía SQL, get the sdo_geometry (here is when i need to rebuild a complete version....)
    4º We load these spatial data into diferents layer in a dwg (in we can get only the geographic primitives, this will be faster)
    5º CAD users edit the information and when they finish, load arc and points (lables) into 2 temporal tables, when arcCatalog can rebild polygon topology ....
    6º Once polygons have been rebuilded, can be sended to AutoCAD again so Oracle Spatial SQL queries can be used in AutoCAD against the DB.
    7º Finally, could we insert the new records into A and D tables?, and how? using simply SQL (again we need to rebuild a version....)
    I'm all ears.......
    Thank you again
    Jesús de Diego

  • Uploading bulk data in oracle spatial

    Hi,
    I need to upload a map data in (input is ESRI File geodatabase) in Oracle Spatial using ArcSDE.
    I have Oracle spatial 10g, ArcGIS desktop 9.3. I am able to connect the oracle spatial data using arcsde and i am able to view those maps in arcmap. Also, i am able to upload small esri shape files in oracle spatial using esri arccatalog through arcsde.
    I would like to know, the steps to be followed to upload a road network for North america (around 15gb) data as SDO. If there is any document available it will be more useful for me.
    Or pls. share your experience in this.
    Thanks,
    Vadivelan. P

    Yikes,
    You won't require 150 gig of undo to load your data with ESRI tools. Noel might need to start a new thread to discuss that issue as his bulk loader may need some tuning. :p
    All ESRI bulk loaders use a rather modest auto-commit. ArcCatalog is 1000 records and sdeimport is 2000 records by default. So after loading that many records the tool does a commit and thus avoids much undo at all. You can easily change this number to tune performance (higher for point data, lower for huge honkin' polygons) in the parameters.
    At this point I would say the heck with all these torpedoes and give your load a try. You stated in the very first thread that you have loaded shapefiles successfully into Oracle Spatial so the assumption is you have your dbtune keywords setup and are all set with the issues of mapping ESRI coordinate systems into Oracle Spatial. So full steam ahead! Another idea would be to load a small subset of the data and make sure its correct to your needs before doing the whole thing. My opinion is I don't think you need to worry about the 15 gig size of the load. Yes it will take some time to do but I would bet whatever problems you run into are the same you would face with a 15 meg load.
    Cheers and good luck,
    Paul

  • Oracle spatial... how to begin...

    I'm new to oracle spatial and for begining i want to make very simple database with spatial data, and map for that, but it seems to be problem. i have basic information how to insert lines, points, polygons but i don't what with that. I have installed mapviwer but i have problem to run demos. I have seen some examples on net, the sql's are very simple but below examples always i see very complicated maps. So question is how to start with oracle spatial, how to build simple database and map for that, where to begin with reading... Any information is welcome. may be is funny but i'm very confused with oracle spatial... :(
    Thanx

    The best way to start is to
    1) look at the documentation - for 10gR2 start http://www.oracle.com/pls/db102/portal.portal_db?selected=1, click on 'Unstructured Data', select "Oracle® Spatial User's Guide and Reference", and work thorugh the examples in Chapter 1 and 2.
    2) Get Ravi's book (http://www.amazon.ca/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords=oracle+spatial&x=0&y=0) and work through the examples
    Since you are a beginner, I suggest "Pro Oracle Spatial" by Euro Beinat, Albert Godfrind, and Ravikanth V. Kothuri. (Not the 11g one for a newbie, as the first one does a better job in general 2D spatial. The 11g has excellent material, especially 3D and the additional capabilities, but sets aside some of the in-depth basics.)
    3) Go to the Spatial forum, buried in the 'More...' section of the Database category in the Oracle forums.

  • Pro Oracle Spatial for Oracle Database 11g - Book now available

    Pro Oracle Spatial for Oracle Database 11g
    Pro Oracle Spatial for Oracle Database 11g shows how to take advantage of Oracle Databases built-in feature set for working with location-based data. A great deal of the information used in business today is associated with location in some way, and analysis of that data is becoming ever more important in todays mobile and highly connected world. In Pro Oracle Spatial for Oracle Database 11g, authors Ravi Kothuri and Albert Godfrind address
    * The special nature of spatial data and its role in professional and consumer applications
    * Issues in spatial data management such as modeling, storing, accessing, and analyzing spatial data
    * The Oracle Spatial solution and the integration of spatial data into enterprise databases
    * How spatial information is used to understand business and support decisions, to manage customer relations, and to better serve private and corporate users
    When you read Pro Oracle Spatial for Oracle Database 11g, you’re learning from the very best. Ravi Kothuri is a key member of Oracle’s Spatial development team. Albert Godfrind consults widely with Oracle clients on the implementation of Oracle Spatial, develops training courses, and presents frequently at conferences. Together they have crafted a technically sound and authoritative fountain of information on working with Spatial data in Oracle...
    Goto http://www.apress.com/book/view/1590598997 or Amazon.com

    Thank you very much.....got it.
    I know it isn't your gig, so I am not asking for a solution, just looking to know where I might have to go to get one. If buying SR's on meta link is going to solve this for me, then I am all for it, just let me know where the expertise can be found, I have been battling this overall set up now for too long, I need someone who really knows this stuff so I can get on with making use of it in industry....thanks....
    Can you steer me in the right direction to access some solid support on the installation issues I am having? See below;
    From oc4j on an attempted stand-alone install;
    07/11/22 20:23:39 INFO [oracle.lbs.mapserver.core.MapperConfig] using default config file: /opt/mv10131/mv10131_qs/oc4j/j2ee/home/applications/mapviewer/web/WEB-INF/conf/mapViewerConfig.xml
    07/11/22 20:23:39 WARN [oracle.lbs.mapserver.core.MapperPool] destroying ALL mapmaker instances.
    07/11/22 20:23:39 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    07/11/22 20:23:39 INFO [oracle.lbs.mapserver.core.MapperConfig] Map Recycling thread started.
    07/11/22 20:23:39 INFO [oracle.lbs.mapserver.oms] *** Oracle MapViewer started. ***
    07/11/22 20:23:40 INFO [oracle.lbs.mapcache.mcservlet] *** Oracle MapCacheServer started. ***
    07/11/22 20:23:40 Thu Nov 22 20:23:40 EST 2007 INFO [oracle.lbs.mapserver.core.MapRecycleThread, ,#Thread-19] cleansing old maps
    user induced ctl-c....program jams
    07/11/22 20:23:51 Shutting down OC4J...
    07/11/22 20:23:54 ERROR [oracle.lbs.mapcache.mcservlet] !!! Oracle MapCacheServer destroyed. !!!
    07/11/22 20:23:54 WARN [oracle.lbs.mapserver.core.MapperPool] destroying ALL mapmaker instances.
    07/11/22 20:23:54 WARN [oracle.lbs.mapserver.oms] Oracle MapViewer shut down
    From a full AppServer Install Attempt (10.1.3 from e-delivery pack) , despite proper TMP/TMPDIR variables, more than ample space via df -k /tmp (300G) and chmod a+rwx /tmp settings;
    [root@bluesky1 Disk1]# ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-2.1, redhat-3, redhat-4, SuSE-9 or UnitedLinux-1.0
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-11-22_07-58-50PM. Please wait ...
    Error in writing to directory /tmp/OraInstall2007-11-22_07-58-50PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
    : Success
    The people in the forums have been trying to help, and they have all been great, but noone seems able to solve....I am asking you because I am hoping you will know who the guru's are, and what I can do to access some of their wisdom to get up and running.?

  • Keep Oracle spatial data in memory

    Can I keep Oracle Spatial data (including metadata and related functions and procedures) in memory using TimesTen?

    It depends what form the data takes. TimesTen does not support any spatial types, only regular relational data types. Also, TimesTen does not support any of the Oracle spatial functions.
    In general this is not possible.
    Chris

  • Where is the documentation for Oracle Spatial Relational Model?

    Hi,
    I'm working with Oracle Spatial for my schema model. In the documentation "Oracle Spatial User's Guide and Reference" there is a note about what this is in OTN but i don't find it!!
    Can anybody help me, where I find the "Oracle Spatial Relational Model Guide and Reference"?

    Thanks! But just i have read this information. And in the documentation for spatial 9.0.1 there is one document only, and in this document there is a Note that reference to nonexistent document with title "Oracle Spatial Relational Model Guide and Reference" this is the document that i'm searching.
    Thank you for your help!

  • "invalid LRS segment" when querying an Oracle Spatial DB

    I have a table of GIS segments in an Oracle Spatial database. I'm using C# and ODP to connect to the database. For a given measure from the start of a segment, I want to find the GPS coordinates for that point. I'm running the following query:
    select g.geom.sdo_ordinates ord_array from
    *(select sdo_lrs.locate_pt(shape,0.02,0) as geom from test_schema.test_table*
    where route='ABC' and segmentnum='101.1') g
    where shape is of type SDO_GEOMETRY. I'm getting the following error:
    ORA-13331: invalid LRS segment
    Is there a problem with how I'm passing shape to locate_pt()? The Oracle Spatial documentation says the argument should be SDO_geometry, so that seems ok.
    Edited by: 964844 on Oct 11, 2012 2:10 PM

    I'm using C# with ODP.NET.
    Here is the current version of the code that is failing:
    var param = new OracleParameter("geom", OracleDbType.Object);
    param.UdtTypeName = "MDSYS.SDO_GEOMETRY";
    param.Direction = ParameterDirection.Input;
    OracleCommand oCmd = new OracleCommand();
    oCmd.Connection = this.oConn;
    oCmd.CommandText = queryStr;
    oCmd.CommandType = CommandType.Text;
    oCmd.Parameters.Add(param);
    OracleDataAdapter da = new OracleDataAdapter(oCmd);
    DataTable dt = new DataTable();
    da.Fill(dt);
    The exception is generated by the da.Fill(dt) line.

  • Is Oracle Spatial, Mapbuilder and Mapviewer supports TTF(True Type Fonts)

    Hi to all,
    Is Oracle Spatial, Mapbuilder and Mapviewer Supports TTF,How to load TTF into Oracle Spatial and how to assign TTF to Point Data,
    i think Map Builder had option,but how load using map builder,
    is any Oracle script to load TTF,pl provide help.
    Regards,
    Ramakrishna.V

    You can only use ttf symbols for markers.
    in MapBuilder click on Tools menu, click on Import Truetype font.
    Use the mapbuilder that is part of the latest kit on OTN. It contains some fixes for TTF handling.

  • Oracle spatial, disks and partitions...

    Can anyone point me in the direction of some kind of documentation with regards to recommended disk and partition configurations for Oracle Spatial? I'm running Red Hat Enterprise Linux and Oracle 10g. With the recent advances in technology in terms of disk speeds, etc, is there any benefit in splitting the OS, programs, data, indexes, and logs onto separate physical disks, or can I get away with having them on different partitions on the same disk?

    Despite the similarity in spelling, spatial ain't that special - its just one of many datatypes that Oracle provides.
    I may be wrong, but I wouldn't think there any particular guidelines or recommendations for configuring a database that will contain spatial database as apposed to one that will not.
    I suggest you follow general guidelines from the Oracle administrators guide about configuring a database for a particular use - ie. you would configure a OLTP database different to a data warehouse. In particular read the administrators guide and installation guide for your particular operating system.

Maybe you are looking for

  • How to transfer music from pc 10.6.1.7 v to MAC 11.0.1 v. Help! Not sure how to do it

    how to transfer music from pc 10.6.1.7 v to MAC 11.0.1 v. Help! Not sure how to do it

  • Grouping of objects

    Hello, Is there a way of grouping text and a graphic imported from another application? I want to move add text into the middle of a page without altering the format of the rest of the text. Thanks, Ben.

  • Report Layout Variant - transaction S_AHR_61016503 - Staff Assignments

    Hi, One of our users has created a layout variant in the above report. Some other users can view and choose the layout but one cannot. Is there an authorisation object missing? If not, does anyone have any ideas why this one person cannot view it. Th

  • Problem in Download

    Hi Guys, Do any one experiance downloading problem from Java site. I tried to download J2sdk and Jwsdp , none gone throgh. It took few sec to download, and when I run it , System says file is currepted.. Any advice is greatly appreciated Thanks Rames

  • Idoc processing in batch process

    how to process an Inbound idoc in a batch program? I am retiving the idoc numbers which needs to be processed how should i go about to process it? should i call the standard FM which mapped to it for processing that idoc? please suggest?