Sdovis No spatial data to render Error

I just got map builder, and was able to see the geometries in a few of my tables, but when i tried to preview a table with over 3 million points, i got the above error. thanks for the help-

Use the option -Xmx when starting MapBuilder. For example:
java -jar -Xmx512M mapbuilder.jar -noconnect
When effectively using this data in MapViewer you shoud set scale ranges for visualization. Rendering too may points, most likely will produce an unreadle screen. In MapBuilder you can set scale ranges for themes when previewing base maps. When previewing just an individual theme in MapBuilder, you currently do not have an option to set the scale ranges, and if you require the full data you may face out of memory if the data is too big.

Similar Messages

  • No spatial data to render

    Dear all
    I inserted a Raster map tiff file into Oracle as GeoRaster data. I then viewed it in MapBuilder to check, however ,it can not be previewed and there is a message: no spatial data to render.
    I do not know how to solve. Ask for a help,Thanks!
    Kind regards
    Doudou
    Email: [email protected] [email protected]

    ------error information------
    2009-6-1 15:35:47 oracle.sdovis.DBMapMaker clear
    信息: clearing internal theme list and cache
    2009-6-1 15:35:47 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    严重: GeoRaster load Exception:
    java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:735)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:74)
    2009-6-1 15:35:47 oracle.sdovis.LoadThemeData run
    严重: Exception fetching data for theme GEORTHEME00.
    Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1098)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:74)
    2009-6-1 15:35:47 oracle.sdovis.MapMaker buildDataMBR
    警告: null MBR resulted from buildDataMBR.

  • Error while inserting spatial data

    Hi All,
    I have a problem while inserting spatial data. could some one please help me in solving this.
    I have creatd a table with spatial index.
    INSERT INTO USER_SDO_GEOM_METADATA
                VALUES('SDO_CA_test', 'CA', SDO_DIM_ARRAY(
                    MDSYS.SDO_DIM_ELEMENT ('LON', 71.19545, 120.35101, 0.000005),
                    MDSYS.SDO_DIM_ELEMENT ('LAT', 12.1145, 26.58041, 0.000005)), 8687);
         CREATE INDEX IO_CA_test ON SDO_CAR_test(CA)
        INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('SDO_COMMIT_INTERVAL=10000 SDO_RTR_PCTFREE = 0');when I insert data from another spatail table that does not have a index I get an error.
    insert into sdo_ca_test as select * from base_sdo;
    ORA-29875 Failed in the ececution of the ODCINDEXINSERT routine
    ORA-13354 incorrect offset in ELEM_INFO_ARRAY
    ORA_06512 at MDSYS.SDO_INDEX_METHOD_101 line. 709I believe that there is some incorrect data that is not with my index defination.
    How do I check this invalid data at base_sdo table. The base_sdo table has no index.
    rgds
    Saz
    Edited by: Saaz Ena on Dec 21, 2009 6:16 PM

    Can you try SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT
    or SDO_GEOM.VALIDATE_LAYER_WITH_CONTEXT? e.g.
    select * from base_sdo a where
    SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(a.CA, 0.000005) != 'TRUE';

  • ADS render error

    Hi,
    Our BC group reviewed every note on SDN regarding  ads rendering problems. I am trying to create an offline PDF form (ready for input - optional), but we are still not able to find a proper solution. ADS service trace (not whole... it is rather large) and source of my test report are included.
    Report FP_PDF_TEST_00 executes successfully - result:
    Versionsinformationen:              705.20060620101936.310918
    ADS trace -
    #1.5#0011254F5F860065000005710000358300043A8EDB2F5B5D#1190285143923#com.sap.security.core.server.destinations.service.DestinationServiceImpl#com.adobe/AdobeDocumentServices#com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination#ADSUSER#175#SAP J2EE Engine JTA Transaction : [0ffffffb5ffffffcca0044ffffff92]#xisap.up.telekom_XI1_11914250#ADSUSER#a2d69810676611dca89c0011254f5f86#SAPEngine_Application_Thread[impl:3]_118##0#0#Error#1#/System/Security/destinations#Java###An error occurred while reading the destination , type . The error was .#3#FP_ICF_DATA_XI1#HTTP#<Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='No such destination FP_ICF_DATA_XI1 of type HTTP exists ', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key No such destination FP_ICF_DATA_XI1 of type HTTP exists #
    #1.5#0011254F5F860065000005720000358300043A8EDB2F6D2E#1190285143928#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#175#SAP J2EE Engine JTA Transaction : [0ffffffb5ffffffcca0044ffffff92]#xisap.up.telekom_XI1_11914250#ADSUSER#a2d69810676611dca89c0011254f5f86#SAPEngine_Application_Thread[impl:3]_118##0#0#Error##Plain###Problem trying read data from Destination: dest:FP_ICF_DATA_XI1//sap/bc/fp/form/layout/ZPDF_FORM.XDP?fp-language=EN&fp-cacheinfo=2007-09-10T10%3a45%3a36Z%24305d7718-345f-4592-be96-36a22a680bca%240%24sl_SL%24v0%2e9
    com.adobe.ads.destination.DestinationException: Destination exception during destination lookup: FP_ICF_DATA_XI1
         at com.adobe.ads.destination.Destination.getDestination(Unknown Source)
         at com.adobe.ads.destination.Destination.readUrlStream(Unknown Source)
         at com.adobe.ads.destination.Destination.readTemplate(Unknown Source)
         at com.adobe.ads.data.DestURLData.setData(Unknown Source)
         at com.adobe.ads.data.DestURLData.<init>(Unknown Source)
         at com.adobe.ads.data.PDFData.createFromURL(Unknown Source)
         at com.adobe.ads.data.PDFData.create(Unknown Source)
         at com.adobe.ads.request.Template.setPDFData(Unknown Source)
         at com.adobe.ads.request.Template.initialize(Unknown Source)
         at com.adobe.ads.request.Renderer.initializeTemplates(Unknown Source)
         at com.adobe.ads.request.Renderer.execute(Unknown Source)
         at com.adobe.BaseADSRequest.doWork(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.processRender(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.security.core.server.destinations.api.DestinationException: [destination_0001] The properties for destination FP_ICF_DATA_XI1 of type HTTP could not be located.
         at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:168)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.invokeInternal(LocalInvocationHandler.java:78)
         at com.sap.engine.services.rmi_p4.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:50)
         at $Proxy253.getDestination(Unknown Source)
         ... 42 more
    Caused by: com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='No such destination FP_ICF_DATA_XI1 of type HTTP exists ', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key No such destination FP_ICF_DATA_XI1 of type HTTP exists
         at com.sap.security.core.server.destinations.io.ConfigurationManagerStorage.get(ConfigurationManagerStorage.java:123)
         at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:138)
         ... 49 more
    #1.5#0011254F5F860065000005740000358300043A8EDB321166#1190285144101#com.adobe.AdobeDocumentServicesWorker#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#175#SAP J2EE Engine JTA Transaction : [0ffffffb5ffffffcca0044ffffff92]#xisap.up.telekom_XI1_11914250#ADSUSER#a2d69810676611dca89c0011254f5f86#SAPEngine_Application_Thread[impl:3]_118##0#0#Error#1#/System/Server#Plain###Error embedding request inputs in error log.#
    #1.5#0011254F5F860065000005750000358300043A8EDB321812#1190285144102#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#175#SAP J2EE Engine JTA Transaction : [0ffffffb5ffffffcca0044ffffff92]#xisap.up.telekom_XI1_11914250#ADSUSER#a2d69810676611dca89c0011254f5f86#SAPEngine_Application_Thread[impl:3]_118##0#0#Error##Plain###Error embedding request inputs in error log.
    java.lang.NullPointerException
         at com.adobe.ads.request.Renderer.embedInputs(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.processRenderLog(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.processRender(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.5#0011254F5F860065000005770000358300043A8EDB338AB8#1190285144197#com.adobe.AdobeDocumentServicesWorker#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#175#SAP J2EE Engine JTA Transaction : [0ffffffb5ffffffcca0044ffffff92]#xisap.up.telekom_XI1_11914250#ADSUSER#a2d69810676611dca89c0011254f5f86#SAPEngine_Application_Thread[impl:3]_118##0#0#Error#1#/System/Server#Plain###No output was generated while rendering
    The render error log file has been written to /usr/sap/XI1/SYS/global//AdobeDocumentServices/renderErrorLog/errorFiles/2007.09.20.124544SAFPUPUKOLBL.pdf.
    Please validate the input files or streams attached with it and try again#
    #1.5#0011254F5F860065000005790000358300043A8EDB3392F2#1190285144199#com.adobe.AdobeDocumentServicesWorker#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#175#SAP J2EE Engine JTA Transaction : [0ffffffb5ffffffcca0044ffffff92]#xisap.up.telekom_XI1_11914250#ADSUSER#a2d69810676611dca89c0011254f5f86#SAPEngine_Application_Thread[impl:3]_118##0#0#Error#1#/System/Server#Plain###Processing exception during a "Render" operation.
    Request start time: Thu Sep 20 12:45:43 CEST 2007
    com.adobe.ads.destination.DestinationException: Destination exception during destination lookup: FP_ICF_DATA_XI1
    Exception Stack Trace:
    com.adobe.ads.destination.DestinationException: Destination exception during destination lookup: FP_ICF_DATA_XI1
    source code -
    I get exception system_error when executing generated fm.
    *& Report  ZCREATE_PDF_FORM_OFFLINE_TEST
    REPORT  ZCREATE_PDF_FORM_OFFLINE_TEST.
    tables:
      zpdf_data_1.
    parameters:
      p_emso like zpdf_data_1-emso.
    data:
      wa_inter like zpdf_data_1,
      fm_name type FPNAME,
      fp_outputparams type SFPOUTPUTPARAMS,
      fp_docparams type sfpdocparams,
      fp_formoutput type fpformoutput,
      e_ads type string.
    select single *
    from zpdf_data_1 into corresponding fields of wa_inter
    where
      emso = p_emso.
    First get name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name     = 'ZPDF_FORM'
      IMPORTING
        e_funcname = fm_name.
    Set output parameters and open spool job
    fp_outputparams-nodialog = 'X'. " suppress printer dialog popup
    fp_outputparams-GETPDF = 'X'. " launch print preview
    fp_outputparams-ADSTRLEVEL = '04'.
    call function 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = fp_outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    Set form language and country (->form locale)
    fp_docparams-langu = 'E'.
    fp_docparams-country = 'EN'.
    fp_docparams-FILLABLE = 'X'.
    Now call the generated function module
    call function fm_name
      EXPORTING
        /1bcdwb/docparams  = fp_docparams
        I_ZPDF_DATA_1       = wa_inter
      IMPORTING
        /1BCDWB/FORMOUTPUT = fp_formoutput
      EXCEPTIONS
        usage_error        = 1
        system_error       = 2
        internal_error     = 3
        others             = 4.
    CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR'
    IMPORTING
       E_ADSERRSTR       = e_ads
    Close spool job
    call function 'FP_JOB_CLOSE'
      EXCEPTIONS
        usage_error    = 1
        system_error   = 2
        internal_error = 3
        others         = 4.
    data:
      lt_att_content_hex type solix_tab.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer     = fp_formoutput-PDF   "PDF file from function module
      TABLES
        binary_tab = lt_att_content_hex.
    CLASS cl_bcs DEFINITION LOAD.
    DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
    lo_send_request = cl_bcs=>create_persistent( ).
    Message body and subject
    DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
    APPEND 'Dear Vendor,' TO lt_message_body.
    append ' ' to lt_message_body.
    APPEND 'Please fill the attached form and send it back to us.'
    TO lt_message_body.
    append ' ' to lt_message_body.
    APPEND 'Thank You,' TO lt_message_body.
    lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'Vendor Payment Form' ).
    DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
    TRY.
        lo_document->add_attachment(
        EXPORTING
        i_attachment_type = 'PDF'
        i_attachment_subject = 'Vendor Payment Form'
    I_ATTACHMENT_SIZE =
    I_ATTACHMENT_LANGUAGE = SPACE
    I_ATT_CONTENT_TEXT =
    I_ATTACHMENT_HEADER =
        i_att_content_hex = lt_att_content_hex ).
      CATCH cx_document_bcs INTO lx_document_bcs.
    ENDTRY.
    Add attachment
    Pass the document to send request
    lo_send_request->set_document( lo_document ).
    Create sender
    DATA:
      lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
      l_send type ADR6-SMTP_ADDR value '[email protected]'.
    lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    Set sender
    lo_send_request->set_sender(
    EXPORTING
    i_sender = lo_sender ).
    Create recipient
    DATA:
    lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
    lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    Set recipient
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = '' ).
    lo_send_request->add_recipient(
    EXPORTING
    i_recipient = lo_recipient
    i_express = '' ).
    Send email
    DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    lo_send_request->send(
    EXPORTING
    i_with_error_screen = 'X'
    RECEIVING
    result = lv_sent_to_all ).
    COMMIT WORK.
    message 'The payment form has been emailed to the Vendor' type 'I'.
    Please help!
    Regards,
    Uros

    I went through all steps in note 944221, and the one you suggested. I get stuck in the Visual Admin when i try to extend Destinations service - i get an error:
    <b>Error while loading service Destinations</b>
    Check the status bar on the screenshot (link below). Any suggestions?
    <a href="http://freeweb.siol.net/vkolbl/ADS_Problem.gif">ADS Problem</a>

  • Retrieving spatial and non spatial data in one query

    Hello. I am having slight difficulties using JDBC to retrieve both spatial and non spatial data in the same query. The following is code from a sample program of mine that retrives spatial data from spatial tables.
    (In spatialquery geom is a geometry column and city is simply the name of the city):
    try
    Geometry geom = null;
    String database = "jdbc:oracle:thin:@" + m_host + ":" + m_port + ":" + m_sid;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = (OracleConnection)DriverManager.getConnection(database, sUsername, sPassword);
    GeometryAdapter sdoAdapter =
    OraSpatialManager.getGeometryAdapter("SDO", "8.1.7", STRUCT.class, null, null, con);
    String spatialquery = "SELECT a1.geom, a1.city \n" +
    "FROM cities a1";
    Statement stmt = con.createStatement();
    OracleResultSet rs = (OracleResultSet) stmt.executeQuery(spatialquery);
    int i = 0;
    int noOfFeatures = 2;
    while (rs.next())
    for(i = 1; i <= noOfFeatures; i++)
    STRUCT dbObject = (STRUCT)rs.getObject(i);
    try
    geom = sdoAdapter.importGeometry(dbObject);
    catch(GeometryInputTypeNotSupportedException e)
    System.out.println("Input Type not supported");
    catch(InvalidGeometryException e)
    System.out.println("Invalid geometry");
    System.out.println(geom);
    }//end while loop
    This retrieves the sptial data fine, however when I attempt to retreive the non-spatial data I keep getting a "ClassCastException" error. I understand it is something to do with "STRUCT dbObject = (STRUCT)rs.getObject(i);" line. Can anyone tell me how to retrieve both spatial and non-spatial data in the one query using JDBC. I have tried nearly everything at this stage. Cheers joe

    Theresa A Radke
    Posts: 20
    OTN Member Since: Jul, 2001
    retrieving spatial and non spatial in same query. May 23, 2003 12:02 AM
    retrieving spatial and non spatial in same query.

  • ADS: The render error

    Hello All,
    Iam trying to display interactive form thru example FP_EXAMPLE_01 but Im getting error, have switched on the trace here are the details
    <b>PDF with additional info</b>
    'all' Log Entries
    Severity Message Id Date/Time Description
    Trace                         No Errors Reported.
    <b>Trace level file</b>
    Begin trace
    Adobe Document Services Tue Oct 24 11:52:49 GMT+04:00 2006 Trace Results:
             String: rp.script.uri = sap/SAPPDFDocument.rps
             String: Trace = 10
             String: Username = MAHESHB
             Stream: PDFDocument
             Stream: XFD
          IIOP service is running
          Created a Data Manager for this request
          Locating stream: PDFDocument and loading into a DOM
          PdfDocument bytes = 1077
          Processing PDFDocument instructions
          Parsing the request
          Checking request semantics
    Request initialization (including DOM construction and validation) processing execution time = 98 ms.
    Action: Identity
             <Identity><Application> = SAFP
             <Identity><Form> = ZDEMO_FORM
             <Identity><SID> = DEV
             <Identity><Client> = 200
             <Identity><IsProductive> = 0
    Action: Renderer
    Using Template Template (xdp):
    Source = URL
    Name = dest:FP_ICF_DATA_DEV//sap/bc/fp/form/layout/ZDEMO_FORM.XDP?fp-language=EN&fp-cacheinfo=2006-10-24T04%3a29%3a19Z%24618b0729-7edc-458f-b1bb-4f5d273a67c7%240%24en_US%24v0%2e8
    CacheInfo = 2006-10-24T04:29:19Z$618b0729-7edc-458f-b1bb-4f5d273a67c7$0$en_US$v0.8
          Setting PDFDynamic to default 0 for this PDF.
             Stream = PDFOut
             Input node: <Render><Output> = pdf
             Stream = PDLOut
             URL = hppcl5e.xdc
             Input node: <Render><Output> = pcl
             Data: XFD
             No custom config file found.
             Using standard config file: AdobeDocumentServices/lib/xfa.xci
             Config setup completed.
    Processing exception during a "Renderer" operation.
    Request start time: Tue Oct 24 11:52:49 GMT+04:00 2006
    com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_DEV//sap/bc/fp/form/layout/ZDEMO_FORM.XDP?fp-language=EN&fp-cacheinfo=2006-10-24T04%3a29%3a19Z%24618b0729-7edc-458f-b1bb-4f5d273a67c7%240%24en_US%24v0%2e8
    Exception Stack Trace:
    com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_DEV//sap/bc/fp/form/layout/ZDEMO_FORM.XDP?fp-language=EN&fp-cacheinfo=2006-10-24T04%3a29%3a19Z%24618b0729-7edc-458f-b1bb-4f5d273a67c7%240%24en_US%24v0%2e8
         at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:210)
         at com.adobe.ads.request.Template.setPDFData(Template.java:222)
         at com.adobe.ads.request.Renderer.initializeTemplates(Renderer.java:468)
         at com.adobe.ads.request.Renderer.execute(Renderer.java:395)
         at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111)
         at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1142)
         at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
         at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.io.FileNotFoundException: Destination exception while retrieving destination
         at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:452)
         at com.adobe.ads.util.FileUtils.getPDFDataFromURL(FileUtils.java:572)
         at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:200)
         ... 33 more
    Caused by: com.sap.security.core.server.destinations.api.DestinationException: [destination_0001] The properties for destination FP_ICF_DATA_DEV of type HTTP could not be located.
         at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:166)
         at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.invokeInternal(LocalInvocationHandler.java:77)
         at com.sap.engine.services.rmi_p4.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:53)
         at $Proxy103.getDestination(Unknown Source)
         at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:444)
         ... 35 more
    Caused by: com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='No such destination FP_ICF_DATA_DEV of type HTTP exists ', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key No such destination FP_ICF_DATA_DEV of type HTTP exists
         at com.sap.security.core.server.destinations.io.ConfigurationManagerStorage.get(ConfigurationManagerStorage.java:123)
         at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:136)
         ... 42 more
    Merging log data with log.pdf
             Merge result: Success with information
             Successfully merged data into dataless log.pdf.
    Action: Render Error Log
    Saved input stream, size: 18877 to temporary file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM-8202457197062434482.tmp
    Saved input stream, size: 1077 to temporary file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM9000379241336545535.tmp
             Embedding file/stream: pdfDocument.xml using ID: pdf doc MimeType:  Description: Document Services Control Stream into PDF: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM6587752938953647532.tmp
    Instantiate PDFMM CORBA connection execution time = 27 ms.
    Error embedding request inputs in error log.:
    java.lang.NullPointerException
    Saved input stream, size: 7601 to temporary file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM-5415419749347233973.tmp
             Embedding file/stream: trace.txt using ID: trace string MimeType:  Description: Document Services Trace into PDF: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM6587752938953647532.tmp
             Adding file:/var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM1133995506666286675.tmp to workstreams as: error.pdf
             Saved output file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM1133995506666286675.tmp to stream: error.pdf
    Processing exception during a "Render" operation.
    Request start time: Tue Oct 24 11:52:49 GMT+04:00 2006
    com.adobe.ProcessingError: No output was generated while rendering
    The render error log file has been written to /usr/sap/DEV/SYS/global//AdobeDocumentServices/renderErrorLog/errorFiles/2006.10.24.115250SAFPMAHESHB.pdf.
    Please validate the input files or streams attached with it and try again
    Exception Stack Trace:
    com.adobe.ProcessingError: No output was generated while rendering
    The render error log file has been written to /usr/sap/DEV/SYS/global//AdobeDocumentServices/renderErrorLog/errorFiles/2006.10.24.115250SAFPMAHESHB.pdf.
    Please validate the input files or streams attached with it and try again
         at com.adobe.ads.request.RenderErrorLog.writeErrorPDF(RenderErrorLog.java:216)
         at com.adobe.AdobeDocumentServicesWorker.processRenderLog(AdobeDocumentServicesWorker.java:1300)
         at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1168)
         at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
         at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Help me on this......

    The problem was resolved by copying from our other system running the ADS the missing folders. If you check under the global directory you will see the subfolder as described in my last post so if a system identifier is DEV it would be drive usr\sap\DEV\sys\global\AdobeDocumentServices\
    then under the AdobeDocumentServices folder there needs to be the folder for XMLFormService otherwise when starting and testing it will not find the XDP files it requires. I did not end up filing the call as this resolved the problem
    Other folders you should have are;
    Licensesupportservice
    RenderErrorlog
    TrustManagerService
    DataManagerService
    and others.
    I believe there must be a support package that is not cumulative as we did the install then added the Java support package for ADS and several of the mentioned folders influding the XMLFormService and the RenderErrorlog were not there
    Hope this helps

  • Acquiring Oracle Spatial Data through WFS

    Hi,
    I have been researching for awhile and am slightly confused.
    I have Oracle Spatial 11g with geometry data and would like to be able to retrieve that data through a WFS to serve to a viewing application.
    Here's where I am confused:
    1) Spatial has a WFS service which needs to be configured. If I were configure that, would I be able to access the data through URL getFeature commands? The documentation I see for them has the getFeature requests in the form of XML files so I am not sure if I can do that. Also it seems like the service is returning .log files but I think I would want GML...
    If this is the option I should take, the tutorial to setup OC4J and the Web Services are for a Linux machine (http://www.oracle.com/technology/obe/11gr1_db/datamgmt/spatialws/spatialws.htm) -- Is there one for Windows 64bit?
    2) Do I need another "application layer" to enable this URL support? I know MapServer can use URL requests.. can I just run this against the data in my DB and forget about the Oracle WFS?
    3) MapViewer seems to work with WFS Themes and handle requests through Java and SQL.. is this another option?
    I am basically confused as to where everything sits and what I should be focusing on to get my Spatial data out of the DB through a WFS. Any assistance on this matter would be greatly appreciated!
    Thanks!

    Any help debugging this issue would be greatly appreciated:
    As per the documentation:
    http://localhost:8888/SpatialWS-SpatialWS-context-root/wfsservlet?request=GetCapabilities&service=wfs&version=1.0.0
    :this get request should return the capabilities info however I receive this error message instead in the browser:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ogc:ServiceExceptionReport version="1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://localhost:8888/examples/servlets/xsds/OGC-exception.xsd" xmlns:ogc="http://www.opengis.net/ogc">
    <ogc:ServiceException code="WFS-1042">Exception during processing request</ogc:ServiceException>
    </ogc:ServiceExceptionReport>
    The sytem out from the oc4j container provides this error message:
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    INFO] No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.WSProperties, Tue Apr 27 15:47:38 MDT 2010,
    ERROR] Oracle Spatial WS Server could not set up configuration parameters: jav
    a.lang.RuntimeException: No subject specified in request.
    10/04/27 15:47:38 [oracle.spatial.ws.servlet.WFSServlet, Tue Apr 27 15:47:38 MDT
    2010, FATAL] java.lang.RuntimeException: java.lang.RuntimeException: No subject
    specified in request.
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:705)
    at oracle.spatial.ws.servlet.WFSServlet.doGet(WFSServlet.java:108)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:734)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
    SocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
    AcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
    ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.RuntimeException: No subject specified in request.
    at oracle.spatial.ws.WSProperties.getUser(WSProperties.java:574)
    at oracle.spatial.ws.WSProperties.getProperties(WSProperties.java:695)
    ... 16 more

  • DISPLAY SPATIAL DATA USING JDBC ON A JAVA FRAME

    I am trying to set up some spatial data and need help in getting some sample
    code for displaying the data on a Java Frame using JDBC.
    The shapes I am setting up are simple polygons, lines, circles. I was going
    through the samples in the demo directory under $ORACLE_HOME/md/demo/examples, but could not find any JDBC
    I would really appreciate if you can point me towards some sample code and any other spatial resources.
    Madhukar

    Here you go. It uses JDBC to fetch geoms, convert them into Java JGeometry objects, which then create Java2D shapes (these are functions of the public sdoapi.jar library). It then uses some class in the sdovis.jar library (the rendering engine of MapViewer) to setup the necessary viewport transform. If you know how to setup the viewport transform, then you dont even need sdovis. sdovis.jar is found in an deployed MapViewer's WEB-INF/lib directory. Or you can extract it from the mapviewer.ear's web.war file.
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.sql.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import oracle.jdbc.OracleDriver;
    import oracle.sdovis.*;
    import oracle.sdovis.style.*;
    import oracle.sdovis.util.*;
    import oracle.spatial.geometry.JGeometry;
    import oracle.sql.STRUCT;
    * A very simple program that shows stuff from db in a JFrame
    * <p>
    public class tilsvgui2 extends JFrame
      final static int mapWidth  = 640;
      final static int mapHeight = 480;
      static JSDOGeometry geom = null;
      public tilsvgui2()
        setSize(mapWidth+40, mapHeight+40);
                    setVisible(true);
        this.addWindowListener(new java.awt.event.WindowAdapter() {
          public void windowClosing(WindowEvent e) { System.exit(0); }
            public void paint(Graphics g)
                    super.paint(g);
        int w = this.getWidth(), h = this.getHeight();
        Insets inset = this.getInsets();
        double[] mbr = geom.getMBR();
        //from sdovis; it will setup the viewport transform
        XFViewPort xfp = new XFViewPort();
        xfp.setDeviceView(inset.left, inset.top, w-inset.left-inset.right-1, h-inset.top-inset.bottom-1);
        xfp.setDataView(mbr[0], mbr[1], mbr[2], mbr[3]);
        AffineTransform af = xfp.getAffineTransform();    //get the viewport transform
        Shape shp = geom.createShape(af);    //create a proper shape that fits the viewport
        Graphics2D g2 = (Graphics2D) g;
        g2.setColor(Color.red);
        g2.drawRect(inset.left, inset.top, w-inset.left-inset.right-1, h-inset.top-inset.bottom-1);
        //draw the shape itself
        g2.setColor(Color.blue);
        g2.draw(shp);
      public static void getStuff() throws Exception
        System.out.println("Loading geometry...");
        Connection conn = getConnection("mapsrus.us.oracle.com", "1521", "orcl", "scott", "tiger");
        Statement  stmt = conn.createStatement();
        ResultSet  rset = stmt.executeQuery("select geom, totpop from counties where county='Merrimack' and state_abrv='NH'");
        while(rset.next())
          STRUCT st = (STRUCT) rset.getObject(1);
          geom = JSDOGeometry.loadFromDB(st);
          int population = rset.getInt(2);
          break; //displaying only the first geometry
        rset.close();
        stmt.close();
        conn.close();
      private static Connection getConnection(String host,
                                              String port,
                                              String sid,
                                              String username,
                                              String password)
        throws SQLException
        String thinConn = "jdbc:oracle:thin:@"+host+":"+port+":"+sid;
        Driver d = new OracleDriver();
        Connection conn = DriverManager.getConnection(thinConn,username,password);
        conn.setAutoCommit(false);
        return conn;
      public static void main(String[] args)
        try{
          getStuff();
        }catch(Exception e)
          e.printStackTrace(System.err);
        new tilsvgui2();
    }

  • Cannot edit Oracle Spatial data

    Hello,
    I am running into some problems with my Oracle Spatial data. Maybe somebody has some insight. Here's what is going on:
    1) I am able to connect to and view the data in uDig but I cannot edit the data and also the data shows up in the table of contents with a line symbol even though it is polygon data (it renders correctly in the map as polygons). I try using the 'Create Polygon Geometries' tool and it errors saying 'Create Polygon Tool' cannot operate on current layer.
    2) When I try testing edits through WFS-T it errors and tells me that the table is read only.
    The table is in the USERS tablespace and I have verified that it is read/write. I also set object permissions on the user: ALTER, DELETE, INSERT, SELECT, UPDATE
    Am I missing something obvious? Anyone else have this problem? Thanks a lot for any ideas anyone has.

    My apologies for the confusion. My insert statement DID work just fine. I just wasn't seeing it...probably because I was querying the table in Enterprise Manager DB Control and it looks like it takes some time to refresh. So it appears that user permissions are not the issue.
    I have used two data loading methods:
    Before loading data, I needed to create a user defined coordinate reference system:
    1 create projection operation for my custom projection
    2 configure projection parameters
    3 create the projected CRS in mdsys.sdo_coord_ref_system
    First data load steps
    1 shp2sdo.exe my_shapefile my_table -g geom -s 1000002 -v
    2 execute my_table.sql
    3 execute sqlldr.exe
    4 EXECUTE SDO_MIGRATE.TO_CURRENT('my_table','GEOM');
    5 CREATE INDEX my_table_index ON my_table(geom) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    Second data load steps:
    1 open up MapBuilder, make a connection, and go through the Import Shapefile wizard. MapBuilder automatically creates a spatial index.
    Does it appear that I am missing any steps or doing anything obviously wrong that would be causing me to not be able to edit the data through clients such as uDig or WFS-T?

  • Where is Non-Spatial data provider

    Hi!
    I study the MapViewer and go over examples in Oracle Maps Tutorial. All examples work fine except "Dynamic XML BI data and choropleth map", "Dynamic XML BI data and Pie Charts" and "Dynamic XML BI data and dynamic theme".
    I think at least second one (Dynamic XML BI data and Pie Charts) must show some sort of pie chars over the states polygons. I can only see the map with states.
    Is there something as "Non-Spatial data provider" that should be installed manually ?
    If not, where to start debugging?
    Regards,
    Sašo
    Edited by: user594252 on 10.2.2011 15:07

    I have ns_data_provider element uncommented in mapViewerConfig.xml :
    <ns_data_provider
    id="defaultNSDP"
    class="oracle.sdovis.NSDataProviderDefault"
    />
    On the other side, I can see pies&charts using
    -Dynamic theme, BI data and Pie chart style
    -Dynamic theme, pie chart and custom rendering rules
    -Dynamic theme and dynamic Bar chart style
    So there should be something wrong with handling "Dynamic XML BI data". This is essential for us, because we need integration between BI and Spatial.
    Any advice?
    Sašo

  • MDSYS Schema in the Database for spatial data

    Hi
    As MDSYS Schema is required in the oracle database to hold the spatial data, The client database server has no MDSYS schema installed.
    So, when i import the mvdemo.dmp file in the database it is erroring out since there is no spatial data, Please let me know how to get the MDSYS schema in the database.
    Thank You

    Hi thanks for your response, i found this out in the oracle site, DBA ran this script for creation of MDSYS..but there was no data in some of the tables which are needed for development.
    --- COMPATIBLE init.ora parameter is set to 9.0.0.0.0 or higher
    show parameter compat
    NAME TYPE VALUE
    compatible string 10.2.0.3.0
    If you create an Oracle database using the Database Configuration Assistant (DBCA), Spatial is installed by default and you do not need to perform the installation steps described in this section.
    Steps to create the MDSYS schema and objects
    1) Connect to the database instance specifying AS SYSDBA.
    2) Create the MDSYS user with a command in the following format:
    SQL> CREATE USER MDSYS IDENTIFIED BY <password>;
    3) Grant the required privileges to the MDSYS user by running the following procedure:
    SQL> @ORACLE_HOME/md/admin/mdprivs.sql
    4) Connect as MDSYS.
    5) Install Spatial by running the following procedure:
    SQL> @ORACLE_HOME/md/admin/catmd.sql
    SQL> ALTER USER MDSYS ACCOUNT LOCK;
    So this solution dint work out.......

  • Spatial Data For India

    Hi,
    Can someone please help me to get the co-ordinates (such as Latitudes, Longitudes) to render India Map in OBIEE 11g version?
    I did have sent mail to NAVQTEC for the same, but still no response. Can someone please help me in getting the Spatial data which is compatible with Oracle 11g?
    Please let me know if there is any other vendor who can help me provide the spatial data for India.
    Regards,
    S.Nagabathirise

    Hi,
    I need the spatial data for India as well.
    Please suggest me how can I have that data or How can I get that data from google Maps.
    Thanks
    Yashwant

  • Spatial data schema query

    I need to interact with spatial data, but I'm getting errors when tables have a SDO field in them. Is this supposed to work now?
    I'm using an OracleDataAdapter, and calling adapter.FillSchema to retrieve the table's schema. I get an exception saying that a Custom type mapping for the SDO field is not specified or invalid. Do I need to manually map something to get SDO fields to work?
    Thanks

    Yes you have.
    See here for an example:
    http://www.orafaq.com/forum/t/27794/0/

  • Spatial data replication

    Hi
    Is it right place to ask regarding oracle spacial data replication using goldengate? I posted message goldengate thread but now one is replying to that...

    Hi,
    A few tips for getting useful responses on these forums:
    - Give yourself a better name on OTN. User "931643" isn't great.
    - Give your post a meaningful title such as "Spatial data replication using GoldenGate". Your post (Re:goldengate error over on the Goldengate forum had a subject of "goldengate error". That doesn't say much about your particular question.
    - For this post on the Spatial forum - how about some more background information? What versions of the products? What exactly are you trying to do? What is not working? What error messages? Do you have a test case that somebody could easily reproduce? Have you got the replication working for non Spatial data types?
    I've never used Goldengate so won't be able to help much, and I suspect your best bet of a useful response is on the Goldengate forums.
    Have you checked the Goldengate documenation?
    The "Oracle GoldenGate Oracle Installation and Setup Guide" is available on http://docs.oracle.com/cd/E35209_01/doc.1121/e29797.pdf
    This says: Oracle GoldenGate supports SDO_GEOMETRY, SDO_TOPO_GEOMETRY, and SDO_GEORASTER (raster tables).So that looks promising, but check if that is the case for the Goldengate version your are on.
    Check the following My Oracle Support articles:
    "Does GoldenGate Extract Support Oracle Spatial?" [ID 971719.1]
    "Extract Abend With OGG-00746 Error (100, no Data Found) Selecting Data in CheckForSynonym For Table With Column Type SDO_GEOMETRY" [ID 1382906.1]
    John

  • Query for spatial data with a GeometryCollection fails

    There are exact 538 CurvePolygons (only exterior rings at this
    sample). All of them are valid geometries and equal in dimension
    and so on. Now I connect them to a GeometryCollection and query
    for other relating spatial data in some tables. It seems that
    the use of around (not exact!) 200 CurvePolygon in one
    GeometryCollection works fine but the adding of more
    CurvePolygon result in an error with the Spatial Index (I could
    add the ORA- error numbers if I have some data in my test tables
    again next days).
    Is there anybody else having trouble with these mysterious
    problem? Maybe there is a border by the number of points in
    GeometryCollection?
    (More details, programming code could be delivered)
    (working with Java 1.3.1, oracle.sdoapi.*, Oracle 8.1.7.)

    Hi Lutz,
    Could you provide more info or samples of what is going wrong?
    Also, could you try making sure the geometry you are passing in
    as the query window is valid (i.e. instead of passing it in as a
    query window, pass it into sdo_geom.validate_geometry).
    Thanks,
    Dan

Maybe you are looking for

  • Read Table Vs Loop at

    Dear All, Please let me know which one of the two should I use to improve the performance, for tables containing a lot of data ? Regards, Thanks in anticipation. Alok.

  • New Build - Looking for Tips

    So I have purchased the components listed in my Sig and getting ready to set everything up, just wanting to get some tips/advice on the best way to go about it. My biggest question is concerning RAID, as this is the first time I have set one up. Any

  • Finding "old" files

    Upgraded from CS4 to CS5 and went looking for all of my old websites. I can find them and open the files from my computers directory but the layout doesn't look like the same as in CS4. I used to be able to find them in the DW Pop-Up. Do I need to se

  • Using BEx 7 Query in BEx 3.x Web Template

    Hi Experts, I was wondering whether it is possible to use 7 Queries in 3.x Web Templates?! I would like to run the Templates without any EP installation but with the features of BEx 7 Query Designer. Is this possible? Thanks & Cheers Tobias

  • Material Determination through INBOUND IDOC

    Hi Experts,        I have a senario like i need to update the material determination tables when i receive an in bound idoc to create a material. (msg type : MATMAS , Basic type: MATMAS05, Process code: MATM). But i have not seen any segment in the B