[Q] Oracle Spatial Java Class Library: classes missing ?

Hello !
We are using Oracle 9.2.0.4 with Spatial features and we'd like to use the Java Library to get access to the object Geometries. We have downloaded the Spatial Java Library at:
http://www.oracle.com/technology/software/products/spatial/index.html
The "sdo_java_040319.zip" file contains "sdoutl.jar", "sdotopo.jar, "sdonm.jar" and "sdoapi.jar". *BUT* "sdoapi.jar" only contains the "oracle.spatial.geometry.JGeometry" class !
Nothing about the "oracle.sdoapi.*",
"oracle.sdoapi.geom", "oracle.sdoapi.adapter", ...
"oracle.sdoapi.sref" !
Where are they ?
Thank you for your replies

The JGeometry class is it.
It's all you need with the new, supported sdoapi.
The javadoc for JGeometry has an example of its usage.

Similar Messages

  • Oracle Spatial Java Class Library Download?

    Hello,
    where can I download the Oracle Spatial Java Class Library? I installed OracleXE which can handle SDO_GEOMETRY types and now need the java library for programming against the database.
    greetings
    Peter

    If you mean by samples that show you how to manipulate Geometry types than you can find this tutorial using java and connecting to your DB via Oracle Spatial Network Data Model (NDM) https://spatial.samplecode.oracle.com/servlets/ProjectProcess?pageID=0Zl7oV
    My personal experience, it would be good idea to have oracle 11g Release 2 installed.
    It shows you different ways to query spatial data. You might also be interested in this documentation on oracle Topology and NDM Developers guide: http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28399.pdf

  • Location of Oracle Spatial Java Class Library

    Hello All,
    I'm looking for this library and there seems to be no link for it on the download page (http://www.oracle.com/technology/software/products/spatial/index.html). Can someone please help me?
    Thanks!
    --john                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    there is a "jlib" directory under each db component. the oracle spatial Java API is under $ORACLE_HOME/md/jlib.

  • Download Oracle Spatial Java Library

    Hi,
    Has anyone been able to download the Oracle Spatial Java Library? The error I receive is that I have agreed to the license terms even though I have checked all the check boxes and clicked on "I Agree". The same happens when trying to download the documentation for the same product and I am logged in at the time.
    Regards,
    Sean

    If you have oracle enterprise , oracle spatial java library comes bundled with it.
    You may look at $ora_home/product/{version}/db_1/md/jlib/sdoapi.jar , just change the path according to your installation. I just tried to provide you an hint.
    /BR
    Ravi
    Edited by: user4753049 on Feb 10, 2011 12:48 AM

  • Are Oracle spatial java libraries redistributable?

    Hi,
    Do you have any idea about Oracle's policy on distributing Oracle Spatial Java Class Libraries? Can our software that is targeted for commercial purpose distribute it?
    We are using these SDO java libraries.
    oracle_sdo.jar
    sdoapi.jar
    sdogr.jar
    sdonm.jar
    sdotopo.jar
    sdoutl.jar
    Also if redistribution is not allowed, can our users having Oracle DB license, copy these libraries from their Oracle DB machine to the machine where our product is installed.
    Please guide us to appropriate web link on this topic. We could not get clear information by going through Oracle sites.
    Thanks in advance,
    Subrahmanyam.

    Go to: http://www.oracle.com/technology/software/products/spatial/index.html
    Then click one of the downloads and you get the "Oracle Technology Network Development and Distribution License Terms". The second box covers the distribution license.
    I'm sure that its covered in there .... Lots of Legal Mumbo-Jumbo ...... But it contains this line:
    "You may also distribute the programs with your applications to your customers."
    So it looks like "Yes" is the answer to your question !
    Ro

  • Oracle Spatial Java Library User's Guide missing

    Hello!
    I've tried to download the SDOAPI User's Guide (sdoapi.pdf) but it's missing. When I click the link i'm
    redirected to the OTN Documentation index page.
    I desperately need to understand how those classes work.
    I have to finish my diploma thesis.
    I would be very grateful if u could help me!
    Best regards,
    Silvia

    Sue, I was referring to the descriptions for connection types in the drop-down list of the database Connection dialog box in SQL Developer, not to the Net transport protocols (or documentation thereof).

  • Java Class Library (SDOAPI)

    Greetings,
    Using Oracle Spatial Java Class Library (SDOAPI) GeometryAdapter.importGeometry method on the following geometry causes a InvalidGeometryException to be thrown.
    SDO_GEOMETRY(3001, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 0, 6000, 4, 1, 1),
    SDO_ORDINATE_ARRAY(27.3384, 81.4328, 0, 587581.22, 4789617.17, 0))
    This geometry appears to be valid according to the SDO_GEOM.VALIDATE_LAYER and SDO_GEOM.VALIDATE_GEOMETRY functions.
    How can this geometry be read using the SDOAPI?
    Thanks,
    Jeff

    Daniel,
    Thank you for the prompt response and valuable information. My registration contains my accurate e-mail address. Please notify as soon this bug fix is available.
    Thank You,
    Jeff

  • Oracle Spatial 10g R2 Java API

    Hi All,
    I have a JAVA tool said to be written for Oracle Spatial 10g R2 Java API which uses for example the class oracle.spatial.georaster.JGeoRaster. I have to port it to 11g R2. The tool is definitely written for an earlier version, because compilation fails on for example JGeoRaster.getProperties() method which is not present in the new API. For this new API I have a fine Javadoc documentation here:
    http://download-llnw.oracle.com/docs/html/E11829_01/
    I have searched for a similar one for 10g R2 but found only like
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
    which misses the oracle.spatial.georaster package. Is there such a package and if so, where can I find docs for it?
    thank you in advance, best regards: Balázs Bámer

    Hi Balázs,
    the GeoRaster Java API was first released with 11gR2. Your first link points to that, or this link:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11829/toc.htm
    your second link points to 10g Oracle Spatial Java API, which doesn't include any GeoRaster related API. your tool might have been developed based on the old INTERNAL georaster jar file, which is not supposed to be used by your java program. But if you do want the api doc, you can run javadoc or jdeveloper to find out the api from the old sdogr.jar file.
    jeffrey

  • Package oracle.spatial.geometry

    hi guys,
    do you know how to install the Oracle Spatial Java Class Library?
    i'm using Jdeveloper 10g.
    thank you

    Hi Angelo,
    Assuming that you have the jar files, you could add the spatial library to your project properties by right clicking the mouse on the project node, going to Project Properties, Libraries (under Profiles, Development), and then creating a new library name pointing to the spatial library files (jar files).

  • Oracle Spatial in ADF BC

    I would like to know whether the ADF BC can be used in spatial application without using the Oracle Spatial Java Library. Can we manipulate all SDO_GEOMETRY type in our java application using ADF BC alone?

    Hi!
    Thank you both for your effort. Both ways work now, I messed something up at the beginning.
      Logger loLogger = Logger.getAnonymousLogger();
        loLogger.info("method start!");writes to 'default_group~home~default_group~1.log' file in opmn/logs directory, while
      ADFLogger loADFLogger = ADFLogger.createADFLogger("oracle");
        loADFLogger.log(ADFLogger.NOTIFICATION, "method start!");writes to 'log.xml' in j2ee\home\log\home_default_group_1\oc4j directory.
    Now I just have to decide which is better for me ;).
    BB

  • Keep the Oracle Spatial data in memory

    I can keep any database tables in memory (for fast access) using Oracle Coherence (the In Memory Data Grid).
    Now I want to store Oracle Spatial data in memory, is it possible?

    I think it is possible. The difference is it is not easy to recreate some Spatial-related functions and procedures in caches. But you can invoke them from the in-memory applications using Oracle Spatial Java API.

  • How to use Spatial Java Class to update spatial data?

    Hi,
    I am new to Oracle and couldn't find enough information on how to update spatial data.
    Here are my questions?
    1)Where could I find Spatial Java Class Javadoc?
    2)I'd like to update spatial data inside a ResultSet.next() loop.
    After I got the Geometry object and Point object how do I change the x and y values of Point object and save it back to the database.
    3)
    GeometryAdapter sdoAdapter = OraSpatialManager.getGeometryAdapter("SDO", "8.1.6", null, STRUCT.class, null, conn);
    Can I use the above GeometryAdapter for saving Geometry back to database?
    4)
    SpatialReference sref = srManager.retrieve(8265);
    // SRID = 8265: LAT-LON (NAD 83)
    Do I need to create a SpatialReference object and why retrieve the SRID '8256'? Do I have to create SRID '8256'?
    Thanks for any help
    Gwowen

    You can find some sample code that shows you how to do that using
    the SDOAPI java library. Look under the "Sample Code" section on
    OTN's Spatial page:
    http://otn.oracle.com/sample_code/products/spatial/content.html
    The sample file SampleNewToSDO.java is what you will need.
    hoep this helps,
    -LJ

  • Could not find or load main class oracle.spatial.util.SampleShapefileToJGeomFeature?

    Hi,
    Am getting below error while performing ESRI shapefile into oracle database table.,
    C:\>java -cp G:\app\product\11.2.0\dbhome_1\jdbc\lib\ojdbc14.jar;G:\app\product\
    11.2.0\dbhome_1\md\jlib\sdoutl-1.0.jar;\G:\app\product\11.2.0\dbhome_1\md\jlib\s
    doapi-1.0.jar oracle.spatial.util.SampleShapefileToJGeomFeature -h localhost -p
    1521 -sn orcl -u MDSYS -d selva -t shapes -f F:\saptial\Africa.shp -r 8307 -g ge
    ometry
    Error: Could not find or load main class oracle.spatial.util.SampleShapefileToJGeomFeature
    Am using java version as ,
    C:\>java -version
    java version "1.7.0_51"
    Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
    Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
    And also tried in MapBuilder its working fine.,but i need to import using java utility can any help me too this.,

    i had tried below this way and problem got solved .,
    Before i have downloaded
    sdoutl-11.2.0.jar and sdoapi-11.2.0.jar used it for import shp file ..
    C:\>set ORACLE_HOME=G:\app\product\11.2.0\dbhome_1
    C:\Users\SELVA>cd downloads
    C:\Users\SELVA\Downloads>cd statplanet_zambia
    C:\Users\SELVA\Downloads\StatPlanet_Zambia>cd map
    located into particular path and set my oracle home
    C:\Users\SELVA\Downloads\StatPlanet_Zambia\map>set ORACLE_HOME=G:\app\product\11.2.0\dbhome_1
    C:\Users\SELVA\Downloads\StatPlanet_Zambia\map>java -classpath %ORACLE_HOME%\jdb
    c\lib\ojdbc5.jar;%ORACLE_HOME%\md\jlib\sdoutl-11.2.0.jar;%ORACLE_HOME%\md\jlib\sdoapi-11.2.0.jar oracle.spatial.util.SampleShapefileToJGeomFeature -h localhost -p 1521 -s orcl -u MDSYS -d selva -t zambia -f map -r 8307 -g geometry
    host: localhost
    port: 1521
    sid: orcl
    db_username: MDSYS
    db_password: selva
    db_tablename: zambia
    shapefile_name: map
    SRID: 8307
    db_geometry_column: geometry
    Connecting to Oracle10g using...
    localhost, 1521, orcl, MDSYS, selva, zambia, map, null, 8307
    Dropping old table...
    java.sql.SQLException: ORA-00942: table or view does not exist
    Creating new table...
    9 record(s) converted.
    Done.
    Thanks
    Selva

  • Set image path in java class library

    Hi,
    I created a java class library project and made .jar file. My java class library contains .jpg files in separete folder named as Images. My .jar file contains list of classes and image folder also but when i am using .jar file in applet. java class library is working but images are not shown. Let me know how to create imageicon to show images also in the class library

    ImageIcon icon = new ImageIcon(getClass().getResource(path-to-file));

  • Call java 1.6 class from oracle 11g

    Hi Friends
    Can we execute a JAVA 1.6 compatible code under Oracle 11g JVM?
    1.5 compatible code is running fine under Oracle 11g. But code compiled using 1.6 throws following exception:
    ORA-29552: verification warning: java.lang.UnsupportedClassVersionError: (Unsupported major.minor version 50.0)
    Is there any workaround or an upgrade process to run JDK 6 compiled code?
    Thanks
    Mayank

    Hi,
    The Orcale JDBC Drivers download page http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_111060.html also mentions the jar files needed for the classes.
    Do you have the following file:
    ojdbc6.jar (1,988,051 bytes) - Classes for use with JDK 1.6. It contains the JDBC driver classes except classes for NLS support in Oracle Object and Collection types.
    Regards,
    Priyanka

Maybe you are looking for

  • Ora-01401 error on a complex view

    I'm getting a ora-01401 error on a view of the following structure. SQL> desc vu_mat_product_msds_ingred; Name Null? Type MSDS_COMMENTS VARCHAR2(500) MAT_PROD_MSDS_SOURCE VARCHAR2(30) MISSING_INGRED_IND CHAR(1) FLASH_POINT_COMMENTS VARCHAR2(100) MSDS

  • How to tell if an HF100 clip was shot in 30p or 60i?

    I have a bunch of old HF100 footage that I want to re-edit. Trouble is, I can't remember which ones are 30p and which are 60i (I want to tag them differently with iMakeFullHD). Other than looking at them, is there some quantitative way of telling whi

  • I can no longer access my email thru incredimail

    recently upgraded to Firefox 4 and now cannot access email on Incredimail. All other sites, goggle, banking, eBay etc etc are fine. Why just Incredimail?

  • FWD: Re: - no subject (01IB7Q2B9LQW0098V8) -

    The tech notes are now available on Forte's Home page at http://www.forte.com/. On the home page, select " technical information". From there, there is a selection of "technical notes". Before you can access it, you will need to call Forte's technica

  • How to reorganise a RDA application without getting error  RSSTATMAN042?

    Hallo RDA experts, according to this [presentation|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40784126-7503-2b10-b586-f6d5acd41f60] SAP  wants us to reorganise a RDA application frequently (see slide 37): "Data has to be dele