Oracle.Spatial.Util.Sampleshapefiletojgeomfeature Fails (Doc ID 1091768.1)

Last updated on JUNE 08, 2010

Applies to:

Oracle Spatial - Version: 10.2.0.1 to 10.2.0.4 - Release: 10.2 to 10.2
Information in this document applies to any platform.

Symptoms

Java Shapefile Converter provided with 10.2 fails with the SampleShapefileToJGeomFeature class delivered with the sdoutil.jar file.

Execution of the following command:

java -cp $clpath oracle.spatial.util.SampleShapefileToJGeomFeature -h localhost -p 1521 -s framdev -u maggie -d xxxxxxxx -g test_geom -r 0 -t test_sf -f '/home/oracle/maggie/framdev/042810/WCnms_merge_2009_dd'

fails with:

Parameters:
<Filename>: File name of an input Shapefile (without extension)
<Table name>: Table name for the result
[SRID]: Valid Oracle SRID for coordinate system; use 0 if unknown
<ID Column name>: Column name for unique numeric ID; if required

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms