ShapefileReader constructor
ShapefileReader(})
Creates a new instance of ShapeFile.
@param shapefileFiles The ReadableByteChannel this reader will use. @param strict True to make the header parsing throw Exceptions if the version or magic number are incorrect. @param gf The geometry factory used to build the geometries @param onlyRandomAccess When true sets up the reader to do exclusively read driven by goTo(x) and thus avoids opening the .shx file @ If problems arise. @throws ShapefileException If for some reason the file contains invalid records.
Implementation
ShapefileReader(this.channel, this.shxChannel,
{this.strict = false,
this.geometryFactory,
this.onlyRandomAccess = false});