Oracle® Spatial Java API Reference
10g Release 2 (10.2)

B14373-02


oracle.spatial.util
Class SampleShapefileToJGeom

java.lang.Object
  extended by 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
SampleShapefileToJGeom()
           

 

Method Summary
static void main(java.lang.String[] args)
           
protected static void prepareTableForData(java.sql.Connection conn, int shpDims, double maxMeasure, ShapefileReaderJGeom sfh)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SampleShapefileToJGeom

public SampleShapefileToJGeom()

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)

Oracle® Spatial Java API Reference
10g Release 2 (10.2)

B14373-02


Copyright © 2006, Oracle. All Rights Reserved.