Package oracle.spatial.util
Class SampleShapefileToJGeom
- java.lang.Object
-
- oracle.spatial.util.SampleShapefileToJGeom
-
public class SampleShapefileToJGeom extends java.lang.Object
This sample program reads all geometries from a Shapefile and converts them to JGeometry geometries. These geometries are written to a database table. Shapefiles with measure data are converted to LRS geometries in the database.
-
-
Constructor Summary
Constructors Constructor Description SampleShapefileToJGeom()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
protected static void
prepareTableForData(java.sql.Connection conn, int shpDims, double maxMeasure, ShapefileReaderJGeom sfh)
-
-
-
Method Detail
-
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, int shpDims, double maxMeasure, ShapefileReaderJGeom sfh)
-
-