oracle.spatial.util
Class SampleShapefileToJGeomFeature
java.lang.Object
oracle.spatial.util.SampleShapefileToJGeomFeature
-
public class SampleShapefileToJGeomFeature
- extends java.lang.Object
This sample program reads all attributes and geometries from a Shapefile, and converts them to spatial features. These features are written to a database table. Shapefiles with measure data are converted to LRS geometries in the database.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleShapefileToJGeomFeature
public SampleShapefileToJGeomFeature()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
prepareTableForData
protected static void prepareTableForData(java.sql.Connection conn,
DBFReaderJGeom dbfr,
ShapefileFeatureJGeom sf,
int shpDims,
double maxMeasure,
ShapefileReaderJGeom sfh)
throws java.io.IOException,
java.sql.SQLException
-
- Throws:
java.io.IOException
java.sql.SQLException
Copyright © 2006, Oracle. All Rights Reserved.