Class 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.
    • 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)  
      • 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)