Package org.h2gis.functions.io.shp.internal


package org.h2gis.functions.io.shp.internal
  • Class
    Description
    IndexFile parser for .shx files.
    For now, the creation of index files is done in the ShapefileWriter.
    The default JTS handler for shapefile.
     
    Wrapper for a Shapefile point.
    Wrapper for a Shapefile polygon.
    Thrown when an error relating to the shapefile occures
     
    The general use of this class is: FileChannel in = new FileInputStream("thefile.dbf").getChannel(); ShapefileReader r = new ShapefileReader( in ) while (r.hasNext()) { Geometry shape = (Geometry) r.nextRecord().shape() // do stuff } r.close(); You don't have to immediately ask for the shape from the record.
    ShapefileWriter allows for the storage of geometries in esris shp format.
    A ShapeHandler defines what is needed to construct and persist geometries based upon the shapefile specification.
    Not much but a type safe enumeration of file types as ints and names.
    Merge ShapeFileReader and DBFReader.