Please Ignore - Oracle Spatial Error
Hi,
I am getting the following error:
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
Is this an licensing issue?
Edited by: GreenHorn on Dec 22, 2009 1:56 AM
sorry abt that, i was not sure to post this in plsql forum or database forum.
here's the info:
SQL> CREATE TABLE table01
2 (
3 col01 DECIMAL(10) NOT NULL,
4 col02 MDSYS.SDO_GEOMETRY NOT NULL
5 );
Table created.
SQL>
SQL> CREATE INDEX idx01 ON table01(col01)
2 INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_COMMIT_INTERVAL=10000 SDO_RTR_PCTFREE = 0');
CREATE INDEX idx01 ON table01(col01)
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13200: internal error [Unsupported Type] in spatial indexing.
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
SQL> Here's the version of the sql:
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL> Here's the OS:
SQL> select platform_id, platform_name from v$database;
PLATFORM_ID
PLATFORM_NAME
13
Linux x86 64-bit
SQL>
Similar Messages
-
Hi,
I am getting the following error:
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
SQL> CREATE TABLE table01
2 (
3 col01 DECIMAL(10) NOT NULL,
4 col02 MDSYS.SDO_GEOMETRY NOT NULL
5 );
Table created.
SQL>
SQL> CREATE INDEX idx01 ON table01(col01)
2 INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_COMMIT_INTERVAL=10000 SDO_RTR_PCTFREE = 0');
CREATE INDEX idx01 ON table01(col01)
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13200: internal error [Unsupported Type] in spatial indexing.
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
SQL> Here's the version of the sql:
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL> Here's the OS:
SQL> select platform_id, platform_name from v$database;
PLATFORM_ID
PLATFORM_NAME
13
Linux x86 64-bit
SQL>The first error is because you don't have any spatial metadata. You need to insert into user_sdo_geom_metadata first. See the documentation for examples of how to do this.
The canned example you showed failed because you tried to index col01 rather than col02. -
Import Bently DGN Files into a oracle spatial 8.1.7-- ERRORS
Hy
I work with Oracle spatial 8.1.7, MapX, VB6 and Win2k.
My Problem: I get a DGN File. When I translate this file into a MapInfo File(s), it works fine.
Now I must have this data in a oracle spatial. On this part the problems start.
I can only inport the geometry and no charakters strings into the DB.
The Textlayers on the mapinfo file are converted th polygons (from DGN to MapInfo TAB).
If I move these file to the oracle, the text Layers are empty. If I look into the MapInfo Layer, which could have the text, the visible table (on MapInfo) is empy.
It is posible to transform the DGN to a other way (with FME). Then I have a smaler number of MapInfo files with text informations in the table(MapInfotable).
Because it is not posible to load this file into the oracle.
I get the errormessage, that the first row is Zero.....
What can I do???
Is the DGN FIle corrupt??? Have I a'n error on my Oracle???
Please help me
PeterHi,
Please, refer to Steve Rea's Web for DB Cloning examples:
For Cloning using Datafile copy:
http://uaex.edu/srea/Cloning_a_Database_using_Datafile_Copy.htm
For Cloning using Export/Import:
http://uaex.edu/srea/Cloning_a_Database_using_Export_Import.htm
Cheers:
Francisco Munoz Alvarez
www.oraclenz.com -
Oracle Streaming not working, -- PLEASE IGNORE
Hello All
I am trying to setup streaming between two databases:
Source database = Oracle 10g 10.1.0.5
Destination = Oracel 10g 10.2.
I did following steps:
1- User 'strmadmin' created on both databases granted GRANT_ADMIN_PRIVILEGE,
2- Both have JOB_QUEUE_PROCESSES > 2
3- At both databased db_link with name 'sttream' pointing to each other databased has been setup and working fine.
4- executed on both: EXEC DBMS_STREAMS_ADM.SET_UP_QUEUE();
5- At source db, supplemental log added on the desired table.
6- At source db, following rule executed:
BEGIN
DBMS_STREAMS_ADM.ADD_TABLE_RULES(
table_name => 'dba_st.sayeed_streaming',
streams_type => 'capture',
streams_name => 'capture_stream',
queue_name =>
'strmadmin.streams_queue',
include_dml => true,
include_ddl => true,
inclusion_rule => true);
END;
7- At source db, following propogation rule done:
BEGIN
DBMS_STREAMS_ADM.ADD_TABLE_PROPAGATION_RULES(
table_name => 'dwhstream.sayeed_streaming',
streams_name => 'st4_to_dwh',
source_queue_name => 'strmadmin.streams_queue',
destination_queue_name => 'strmadmin.streams_queue@dwh',
include_dml => true,
include_ddl => true,
source_database => 'dba_st',
inclusion_rule => true);
END;
8- At destination db, table created with same name and attributes.
9- instantiation SCN at source db as:
DECLARE
source_scn NUMBER;
BEGIN
source_scn := DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER();
DBMS_APPLY_ADM.SET_TABLE_INSTANTIATION_SCN@dwhstream(
source_object_name => 'dba_st.sayeed_streaming',
source_database_name => 'dba_st',
instantiation_scn => source_scn);
END;
10- At destination db:
BEGIN
DBMS_STREAMS_ADM.ADD_TABLE_RULES(
table_name => 'dba_st.sayeed_streaming',
streams_type => 'apply',
streams_name => 'apply_stream',
queue_name =>
'strmadmin.streams_queue',
include_dml => true,
include_ddl => true,
source_database => 'dba_st',
inclusion_rule => true);
END;
11- At source db:
BEGIN
DBMS_CAPTURE_ADM.START_CAPTURE(
capture_name =>
'capture_stream');
END;
12- At destination DB:
BEGIN
DBMS_APPLY_ADM.START_APPLY(
apply_name => 'apply_stream');
END;
So all this i did but when i change, insert or delet in source table, nothing comes at destination.
Please guide me what steps i had missed or where to look errors step by step.
Thanks in advance
Sayeed
Edited by: user9206270 on Mar 1, 2010 9:38 PMthis is a duplicate post. Please change the subject to "Please ignore" Thank you.
Your initial post was in the correct group and multiple posts is considered very bad form by most here that try to help.
Again thank you for cleaning it up and removing this. -
"Running Oracle Spatial Web Services" tutorial error
Hi,
I am currently working on setting up the WFS service with OC4J. I completed the initial tutorial to set it up and everything went well. I am now trying to run the WFS demos from WSCLIENT and using this tutorial: http://www.oracle.com/technology/obe/11gr1_db/datamgmt/spatialws/spatialws.htm.
I just focused on the WFS Relational features and did the following:
Ran @wfsrelmd.sql and users/tables/grants were all successful.
Ran compileAndRunClient.bat runwfsct and the feature was created successfully.
Ran compileAndRunClient.bat runwfsrel and received the following error in the OC4J server shell:
"Starting OC4J from C:\oc4j\j2ee\home ...
Jan 4, 2010 12:40:02 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
2010-01-04 12:40:03.445 NOTIFICATION JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
2010-01-04 12:40:03.446 NOTIFICATION JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
10/01/04 12:40:05 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
10/01/04 12:40:43 Oracle Spatial WS Server could not set up configuration parameters: java.lang.NullPointerException
10/01/04 12:40:43 java.lang.NullPointerException
10/01/04 12:40:43 at sun.misc.MetaIndex.mayContain(MetaIndex.java:225)
10/01/04 12:40:43 at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:744)
10/01/04 12:40:43 at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
10/01/04 12:40:43 at sun.misc.URLClassPath.getResource(URLClassPath.java:220)
10/01/04 12:40:43 at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1126)
10/01/04 12:40:43 at java.lang.ClassLoader.getResource(ClassLoader.java:975)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
10/01/04 12:40:43 at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:43 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:43 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:43 at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
10/01/04 12:40:43 at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168)
10/01/04 12:40:43 at oracle.spatial.ws.WSProperties.load(WSProperties.java:101)
10/01/04 12:40:43 at oracle.spatial.ws.WSProperties.getProperty(WSProperties.java:294)
10/01/04 12:40:43 at oracle.spatial.ws.WSProperties.setLogProperties(WSProperties.java:546)
10/01/04 12:40:43 at oracle.spatial.ws.svrproxy.SdoWsService.init(SdoWsService.java:119)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCProcessor.callInitIfImplementsServiceLifecycle(JAXRPCProcessor.java:602)
10/01/04 12:40:43 at oracle.j2ee.ws.server.J2EEImplementor.<init>(J2EEImplementor.java:82)
10/01/04 12:40:43 at oracle.j2ee.ws.server.J2EEJavaImplementor.<init>(J2EEJavaImplementor.java:54)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JavaImplementorFactory.createImplementor(JavaImplementorFactory.java:26)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCProcessor.createImplementor(JAXRPCProcessor.java:586)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCProcessor.getImplementor(JAXRPCProcessor.java:550)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCServlet.createSOAPMessage(JAXRPCServlet.java:878)
10/01/04 12:40:43 at oracle.j2ee.ws.server.WebServiceServlet.initProcessorContext(WebServiceServlet.java:314)
10/01/04 12:40:43 at oracle.j2ee.ws.server.JAXRPCServlet.initProcessorContext(JAXRPCServlet.java:324)
10/01/04 12:40:43 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:198)
10/01/04 12:40:43 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
10/01/04 12:40:43 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
10/01/04 12:40:43 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
10/01/04 12:40:43 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
10/01/04 12:40:43 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
10/01/04 12:40:43 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
10/01/04 12:40:43 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
10/01/04 12:40:43 at java.lang.Thread.run(Thread.java:619)
10/01/04 12:40:43 [oracle.spatial.ws.CacheLoader, Mon Jan 04 12:40:43 EST 2010,WARN] Connection not initialized for WFS Cache
10/01/04 12:40:43 [oracle.spatial.csw.CSWCacheLoader, Mon Jan 04 12:40:43 EST 2010, WARN] Connection not initialized for CSW Cache
10/01/04 12:40:49 [oracle.spatial.ws.svrproxy.SdoWsService, Mon Jan 04 12:40:49EST 2010, INFO] Make Spatial Request, using wfs_rel_user
10/01/04 12:40:49 java.lang.NullPointerException
10/01/04 12:40:49 at sun.misc.MetaIndex.mayContain(MetaIndex.java:225)
10/01/04 12:40:49 at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:744)
10/01/04 12:40:49 at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
10/01/04 12:40:49 at sun.misc.URLClassPath.getResource(URLClassPath.java:220)
10/01/04 12:40:49 at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1126)
10/01/04 12:40:49 at java.lang.ClassLoader.getResource(ClassLoader.java:975)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
10/01/04 12:40:49 at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
10/01/04 12:40:49 at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
10/01/04 12:40:49 at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
10/01/04 12:40:49 at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
10/01/04 12:40:49 at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.SdoWsMultiplexer.<clinit>(SdoWsMultiplexer.java:228)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.SdoWsService.makeSpatialRequest(SdoWsService.java:274)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.runtime.SpatialWSSoapHttp_Tie.invoke_makeSpatialRequest(SpatialWSSoapHttp_Tie.java:60)
10/01/04 12:40:49 at oracle.spatial.ws.svrproxy.runtime.SpatialWSSoapHttp_Tie.processingHook(SpatialWSSoapHttp_Tie.java:155)
10/01/04 12:40:49 at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
10/01/04 12:40:49 at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:430)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
10/01/04 12:40:49 at java.security.AccessController.doPrivileged(Native Method)
10/01/04 12:40:49 at javax.security.auth.Subject.doAs(Subject.java:396)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
10/01/04 12:40:49 at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:294)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
10/01/04 12:40:49 at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:151)
10/01/04 12:40:49 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
10/01/04 12:40:49 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
10/01/04 12:40:49 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
10/01/04 12:40:49 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
10/01/04 12:40:49 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
10/01/04 12:40:49 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
10/01/04 12:40:49 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
10/01/04 12:40:49 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
10/01/04 12:40:49 at java.lang.Thread.run(Thread.java:619)
10/01/04 12:40:49 [SdoWsMultiplexer, Mon Jan 04 12:40:49 EST 2010, ERROR] No handlers in system.
10/01/04 12:40:49 [oracle.spatial.ws.svrproxy.SdoWsService, Mon Jan 04 12:40:49EST 2010, INFO] Make Spatial Request, using wfs_rel_user
10/01/04 12:40:49 [SdoWsMultiplexer, Mon Jan 04 12:40:49 EST 2010, ERROR] No handlers in system.
10/01/04 12:40:49 [oracle.spatial.ws.svrproxy.SdoWsService, Mon Jan 04 12:40:49EST 2010, INFO] Make Spatial Request, using wfs_rel_user
I have no idea where this error is coming from and would really appreciate any help if any of these errors indicate a problem someone may know of.
Thanks for your help!I never did solve the problem. I decided to try out GeoServer for WFS and am very impressed. It was much easier to install and pretty feature-filled as well with a lot of documentation. I would definitely suggest checking it out to see if it will fit your needs.
-
Using Java with Oracle Spatial
I am using the JDBC (Java classes dowloaded from
technet.oracle.com - (sdoapi.zip)) together with Oracle Spatial
8.1.6. I am writing a collection of Linestrings into Oracle
Spatial using the supplied java classes(sdoapi.zip). I use the
function createGeometryCollection(myCollection)to write the
Linestring collection to Oracle Spatial and they are written to
the database without error. However, when I try to read the
object back I get the following error:
Exception in thread "main"
oracle.sdoapi.geom.InvalidGeometryException
at oracle.sdoapi.adapter.AdapterSDO.importGeometry
(AdapterSDO.java:101)
at
MapInfoToOracleSpatial.MapInfoToOracleSpatial.main
(MapInfoToOracleSpatial.java:211)
I do not have a listing of this code so can you please tell me
what the error is (line of code) at line 211. Also, when I use
the Oracle Spatial Index Advisor to view the spatial data, it
only displays a quarter of the data. When I use MapInfo to view
it's equivalent TAB (Table) file it views correctly all the
data.
I can't understand why this is happening because the writing to
oracle and creation of each individual linestring does not
throw an error. It is only when I try to read back larger
objects from the database (2500 points) that it gives an error.
Is there a limitation on the size one can create linestrings?
Thanks
Regards
Stephen Syrett
Mobile Telecommunications Network
(MTN) South AfricaLatest Oracle Openworld Spatial/MapViewer activities list:
http://www.oracle.com/us/products/database/options/spatial/ssLINK/oow10-focuson-spatial-169204.pdf
thanks
LJ -
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.comThank 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.? -
Hi,
I'm new to this oracle spatial.I want to use relational model of oracle spatial.In that I read that I need to create 4 tables(layer,dim,index,geom).And then I've to populate index table using sdo_admin.populate_index.But when I do this I'm getting error as "No data found".Actually I inserted one row in each table.Where can I find some examples regarding oracle spatial(relational model,not object relational) ?In technet.oracle.com/product/spatial I found samples but they use object relational model.
Can any one help m with this ?
Thank you.
nullHi,
Does anyone working with relational model of spatial ? If so please share some info .What is the better approach in creating SDOGEOM table .I know that I can create a table with all the coordinates as sepearte columns,when creating a polygon.Or I can use only x1,y1,x2,y2 columns and repeate them.Like
GID x1 y1 x2 y2
1 1 2 3 4
1 3 4 5 6
1 5 6 7 8
1 7 8 1 2
Some thing like the above.
GID x1 y1 x2 y2 x3 y3 x4 y4 x1 y1
What is the better approach ?Can any one help me ?
TIA,
KKR -
I have installed UIM 7.2.2 on Oracle Linux 5.6_64 bit. There was no error message during the installation. But we are getting java.lang.ClassNotFoundException: oracle.spatial.geometry.JGeometry exception during runtime, specially while opening UIM home page in the browser.
Any suggestion?
Thanks,
MolayHi,
Please let me know the iPlanet service pack number that you are using.
Thanks
Ganesh .R
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support -
Hi
I am trying to install oracle spatial on oracle 11gR2 without dbca.
After searching google, i started installing Java first with following sql.
initjvm.sql
initxml.sql
xmlja.sql
catjava.sql
catexf.sql
When i execute initjvm.sql, i got space issues on tablespace.
After resolving space issues, i again executed initjvm.sql, now there is ORA - 29510 error.
I checked dba_registry, the output is given below.
comp_id version status
XDB 11.2.0.1.0 VALID
JAVAVM LOADING
Please help me.Don,
Why in the world would you do that? If you can't use a gui over the network, you could always make a script on a local box then use that remotely.
Bryan -
How to install Oracle spatial in existing 10g database
Hi all,
I am using Oracle 10g 10.2.0.1.0 on Windows.
How to install Oracle spatial in my database.
I tried to do with DBCA with configure database option but in that Oracle spatial is in disabled state.
Please help I am newby to Oracle spatial
-Thanks & cheers
AntonyHi Xaheer,
Thank you very much. I run that script, while running the script in some part its showing some errors.
Could you please tell me whether I have to do some task before executing this script.
-Thanks & Cheers
Antony -
SDO_NN with Oracle Spatial
Hello,
although the description of my problem is a bit long, I hope you could help me.
I would like to compute the nearest neighbor of a point being located on the surface of the unit sphere.
For that query, I would like to take advantage of the features provided by Oracle Spatial (10g).
Table spatial_test contains the columns point_name, x, y, z, ra, dec where:
point_name is the primary key
x, y, z are the coordinates of the points on the unit sphere (so x^2+y^2+z^2=1)
ra, dec are the the concerning spherical coordinates where the following conditions hold: x=cos(dec)*cos(ra) , y=cos(dec)*sin(ra), z=sin(dec).
For computing the nearest neighbor of a point with point_name='point1' the query without using Oracle Spatial is:
select * from(
select
acos(t1.x*t2.x+t1.y*t2.y+t1.z*t2.z) as distance, t1.*
from spatial_test t1,
spatial_test t2
where t2.point_name='point1'
and t1.name != t2.name
order by dist
where rownum<2;
For taking advantage of Oracle Spatial, I have to prepare my data doing the following five steps:
1. add a column to of type SDO_GEOMETRY to table spatial_test
2. insert values to that table
3. update table user_sdo_geom_metadata
4. create the spatial index
5. execute the following query on the amended table spatial_test:
SELECT t1.point_name name1, t2.point_name name2 FROM spatial_test t1, spatial_test t2
WHERE SDO_NN(t2.geom, t1.geom, 'sdo_num_res=2') = 'TRUE'
and t1.point_name = 'point1'
and t1.point_NAME != t2.point_name
As mentioned in the User Guide for Oracle Spatial, only two dimensional objects are supported.
So, if I insert tuples in the following form to my table:
insert into spatial_test (point_name, x, y, z, geom) values (..., ..., ..., ...,
SDO_GEOMETRY(3001,
NULL, --SDO_SRID is null, so no coordinate system is associated with the geometry
SDO_POINT_TYPE(x_value, y_value, z_value),
NULL,
NULL));
I won't get the correct results. I assume that the z_value is just ignored. Am I right with that assumption?
For using Oracle Spatial, I have to use the equivalent just using two dimensions. Since ra, dec is another representation for x, y, z, I tried to do the same, just using ra and dec. But here, my results also differ from the ones computed with my own computation of the nearest neighbor.
Here an minimal example which shows my problem:
CREATE TABLE spatial_test(
point_name varchar(20) PRIMARY KEY,
x float,
y float,
z float,
ra float,
dec float,
geom SDO_GEOMETRY);
-- INSERT POINTS --
insert into spatial_test(point_name, x, y, z, ra, dec, geom) values ('point1', -0.00472924, 0.110927216, 0.99381728, 92.44125, 83.62542,
SDO_GEOMETRY(2001, -- 2 dimensions, last dimension is the measure, geometry type 01 = point
NULL, --SDO_SRID is null, so no coordinate system is associated with the geometry
SDO_POINT_TYPE(92.44125, 83.62542, null),
NULL,
NULL));
insert into spatial_test(point_name, x, y, z, ra, dec, geom) values ('point2', -0.00239923, 0.112814014, 0.993613226, 91.21833, 83.52097,
SDO_GEOMETRY(2001, -- 2 dimensions, last dimension is the measure, geometry type 01 = point
NULL, --SDO_SRID is null, so no coordinate system is associated with the geometry
SDO_POINT_TYPE(91.21833, 83.52097, null),
NULL,
NULL));
insert into spatial_test(point_name, x, y, z, ra, dec, geom) values ('point3', -0.00701052, 0.122780703, 0.992409065, 93.26792, 82.93584,
SDO_GEOMETRY(2001, -- 2 dimensions, last dimension is the measure, geometry type 01 = point
NULL, --SDO_SRID is null, so no coordinate system is associated with the geometry
SDO_POINT_TYPE(93.26792, 82.93584, null),
NULL,
NULL));
-- UPDATA user_sdo_geom_metadata --
INSERT INTO user_sdo_geom_metadata
(TABLE_NAME,
COLUMN_NAME,
DIMINFO,
SRID)
VALUES (
'spatial_test',
'geom',
MDSYS.SDO_DIM_ARRAY(
MDSYS.SDO_DIM_ELEMENT('ra', 0.0, 360.0, 0.0000000000001),
MDSYS.SDO_DIM_ELEMENT('dec', -90.0, 90.0, 0.0000000000001)
NULL -- no specific coordinate system should be associated with the geometries.
-- CREATE THE SPATIAL INDEX --
CREATE INDEX spatial_test_idx
ON spatial_test(geom)
INDEXTYPE IS MDSYS.SPATIAL_INDEX;
Now I could execute the following queries which should both compute the nearest neighbor of 'point1'.
This is the statement computing the nearest neighbor without Oracle Spatial:
select * from(
select
acos(t1.x*t2.x+t1.y*t2.y+t1.z*t2.z) as distance, t2.point_name p1, t1.point_name p2
from spatial_test t1,
spatial_test t2
where t2.point_name='point1'
and t1.point_name != t2.point_name
order by distance
where rownum<2;
RESULT:
DISTANCE P1 P2
,003005107 point1 point2
With the following statement, I compute the nearest neighbor of 'point1' using Oracle Spatial:
SELECT t1.point_name name1, t2.point_name name2 FROM spatial_test t1, spatial_test t2
WHERE SDO_NN(t2.geom, t1.geom, 'sdo_num_res=2') = 'TRUE'
and t1.point_name = 'point1'
and t1.point_NAME != t2.point_name;
RESULT:
NAME1 NAME2
point1 point3
As you see, unfortunately, the two results differ.
Could you please tell me, what I understood wrong in using Oracle Spatial?
In addition, what kind of coordinate system is assumed if it isn't specified in my SDO_GEOMETRY? Which kind of distance is computed using sdo_nn (euclidean distance, ...)?
Would be glad, if you could tell how to reach the same results for my nearest neighbors using Oracle Spatial.
Regards,
InaI would like to compute the nearest neighbor of a
point being located on the surface of the unit
sphere.That would be a spherical 3D computation. Currently, OS does not work well with 3D such as spheres, sorry. I know R2 was supposed to improve on this for cubes and pyramids, but to be honest; I havent had time to go back and test the simple cube operations. With 10gR1, for most of the operators and functions 2,2,3 and 2,2,5 are same point. I know this is something that is being worked on, possibly Dan can comment further.
See for more info:
Re: 3D Polygon
For now, if you have your own routines, Id use them as a package instead. If you need help there, let us know and well try to point you in the right direction or help you to translate the code to PL/SQL.
Bryan -
Extrude 3D polygons with multiple rings in Oracle spatial
In this thread Extrude 3D polygons in Oracle spatial Baris provided a sample script to extrude a polygon with one ring into a 3D solid.
How do I extrude a polygon with multiple rings?
Given this polygon
! http://public.johnnyotoole.fastmail.fm/Polygon_with_hole.jpg !
, I tried to create a solid as follows:
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
5 rows selected.
SQL> DECLARE
2 l_base_geom SDO_GEOMETRY;
3 l_solid SDO_GEOMETRY;
4 BEGIN
5
6 l_base_geom :=
7 SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1, 21, 2003, 1),
8 SDO_ORDINATE_ARRAY(568758.064, 835364.907, 568735.12, 835362.873, 568735.897, 835354.404, 568737.264, 835334.554,
9 568738.711, 835317.612, 568758.063, 835319.294, 568790.598, 835322.124, 568787.473, 835358.924, 568786.671, 835367.888,
10 568758.064, 835364.907, 568758.063, 835354.97, 568758.811, 835355.046, 568759.253, 835349.107, 568764.952, 835349.529,
11 568764.51, 835355.468, 568778.388, 835356.625, 568778.627, 835353.883, 568778.681, 835353.252, 568778.757, 835352.388,
12 568780.648, 835330.63, 568758.063, 835328.714, 568747.322, 835327.804, 568744.841, 835353.627, 568758.063, 835354.97));
13
14 DBMS_OUTPUT.PUT_LINE('Valid? ' || SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(l_base_geom, 0.005));
15
16 l_solid :=
17 SDO_UTIL.EXTRUDE(
18 l_base_geom,
19 SDO_NUMBER_ARRAY(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),
20 SDO_NUMBER_ARRAY(5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5),
21 'FALSE',
22 0.005);
23
24 DBMS_OUTPUT.PUT_LINE('Volume: ' || sdo_geom.sdo_volume(l_solid,0.005));
25
26 END;
27 /
Valid? TRUE
DECLARE
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.ArrayIndexOutOfBoundsException
ORA-06512: at "MDSYS.SDO_UTIL", line 241
ORA-06512: at line 16Any ideas?Would you please have only 10 elements in your sdo_number_arrays in your case?Is this what you mean?
SQL> DECLARE
2 l_base_geom SDO_GEOMETRY;
3 l_solid SDO_GEOMETRY;
4 BEGIN
5
6 l_base_geom :=
7 SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1, 21, 2003, 1),
8 SDO_ORDINATE_ARRAY(568758.064, 835364.907, 568735.12, 835362.873, 568735.897, 835354.404, 568737.264, 835334.554,
9 568738.711, 835317.612, 568758.063, 835319.294, 568790.598, 835322.124, 568787.473, 835358.924, 568786.671, 835367.888,
10 568758.064, 835364.907, 568758.063, 835354.97, 568758.811, 835355.046, 568759.253, 835349.107, 568764.952, 835349.529,
11 568764.51, 835355.468, 568778.388, 835356.625, 568778.627, 835353.883, 568778.681, 835353.252, 568778.757, 835352.388,
12 568780.648, 835330.63, 568758.063, 835328.714, 568747.322, 835327.804, 568744.841, 835353.627, 568758.063, 835354.97));
13
14 DBMS_OUTPUT.PUT_LINE('Valid? ' || SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(l_base_geom, 0.005));
15
16 l_solid :=
17 SDO_UTIL.EXTRUDE(
18 l_base_geom,
19 SDO_NUMBER_ARRAY(0,0,0,0,0,0,0,0,0,0),
20 SDO_NUMBER_ARRAY(5,5,5,5,5,5,5,5,5,5),
21 'FALSE',
22 0.005);
23
24 DBMS_OUTPUT.PUT_LINE('Volume: ' || sdo_geom.sdo_volume(l_solid,0.005));
25
26 END;
27 /
Valid? TRUE
DECLARE
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.Exception: 54550
ORA-06512: at "MDSYS.SDO_UTIL", line 241
ORA-06512: at line 16
If the heights and ground heights are all the same in your sdo_number_arrays (as in this case), then you can just specify one number in each array instead of specifying a height/ground height for each vertex.Ok, I see what you mean. This works when I use just the outer ring.
SQL> DECLARE
2 l_base_geom SDO_GEOMETRY;
3 l_solid SDO_GEOMETRY;
4 BEGIN
5
6 l_base_geom :=
7 SDO_UTIL.EXTRACT(
8 SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1, 21, 2003, 1),
9 SDO_ORDINATE_ARRAY(568758.064, 835364.907, 568735.12, 835362.873, 568735.897, 835354.404, 568737.264, 835334.554,
10 568738.711, 835317.612, 568758.063, 835319.294, 568790.598, 835322.124, 568787.473, 835358.924, 568786.671, 835367.888,
11 568758.064, 835364.907, 568758.063, 835354.97, 568758.811, 835355.046, 568759.253, 835349.107, 568764.952, 835349.529,
12 568764.51, 835355.468, 568778.388, 835356.625, 568778.627, 835353.883, 568778.681, 835353.252, 568778.757, 835352.388,
13 568780.648, 835330.63, 568758.063, 835328.714, 568747.322, 835327.804, 568744.841, 835353.627, 568758.063, 835354.97)),
14 1,1);
15
16 DBMS_OUTPUT.PUT_LINE('Valid? ' || SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(l_base_geom, 0.005));
17
18 l_solid :=
19 SDO_UTIL.EXTRUDE(
20 l_base_geom,
21 SDO_NUMBER_ARRAY(0),
22 SDO_NUMBER_ARRAY(5),
23 'FALSE',
24 0.005);
25
26 DBMS_OUTPUT.PUT_LINE('Volume: ' || sdo_geom.sdo_volume(l_solid,0.005));
27
28 END;
29 /
Valid? TRUE
Volume: 11839.18887702For the purposes of what I'm doing now, I think I'll just use the outer ring to create my solids, but it would be useful if SDO_UTIL.EXTRUDE works on polygons with multiple rings (maybe it does, I'm probably doing something wrong...). -
Oracle Spatial - inserts/updates to geometry tables
I am getting the following errors when inserting into an SDO_GEOMETRY object type:
java.sql.SQLException: ORA-29877: failed in the execution of the ODCIINDEXUPDATE routine
ORA-13000: dimension number is out of range
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
ORA-06512: at "MDSYS.SDO_IDX", line 86
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 83
ORA-06512: at line 1
I have looked in the Oracle Spatial User Guide for 8i and have not been able to find much on the information above.
Any help from inviduals with more expertise in this area would be great. If I need to provide more information please do indicate this as well
Thanks,
Faroon.Hi,
The number of dimensions in the object being inserted may be
out of the valid range ( 2 to 4).
Or the diminfo in the user_sdo_geom_metadata for this
layer has been changed the after the index is created.
Check these two places first to make sure the dimensionality
is in the valid range.
The error is raised on index updated when the dimensionality
of the object being updated is not in the valid range.
siva -
Bfile image problem---please ignore this thread
Hi all,
I am using Oracle 10.2.0.2.0 on x86_64 GNU/Linux .
I am using a table with column bfile datatype. Bfile column links to oracle directory "frameroot" which contains image frames. when i check data of link (bfile) in oracle sql developer it shows the below :
Name : 2009_pre
Data Length : 55044
File Exists : true
Directory aliase : FRAMEROOT
but when i click image option its is giving the below error :
"Image could not be decoded from the binary stream".
As i think sql developer should show the image of the bfile datatype.
I am using oracle sql developer version 1.2.1
Please suggest.
Thanks
Vipin
Edited by: VipinK on Jun 8, 2010 10:07 PMDuplicate post. Please change the subject to "Please Ignore"
Please never do this.
thank you.
PS: There is a SQL*Developer forum and that is the only place to post questions about SQL*Developer.
Maybe you are looking for
-
Location is not available to mapped network drive in Windows 8 using Synology NAS
Original Thread: http://answers.microsoft.com/en-us/windows/forum/windows8_1-files/location-is-not-available-to-mapped-network-drive/ca7eac5c-0e3d-494b-b488-e245978e4db9 I have recently upgraded to Windows 8.1 standard edition. I have come across a p
-
Hi My requirement is System have to check whether there is duplication material number on sales document (warning message). Solution provided like this Enhancement will be developed: Use user exit MV45AFZZ on 'Save document prepare routine'. Ignore i
-
My bar that has tools, favorites etc is gone how do i get it back
My bar that has tools, favorites etc is gone how do i get it back
-
Upgraded to lion can't access microsoft word!! help?
upgraded to lion and can't acces microsoft word for mac/get PowerPc applications are no longer supported. help?
-
Applescript changes in Photoshop CS5 on Mac
Looks like there are some major Applescript changes to CS5, which is unwelcome for anyone with existing scripts. From what I can see, the difference (that affect me anyway) are a) PCS5 seems to dislike referring to files with "as alias" and removing