Shapefile parser in dart / js
Dart
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
tool
web
.gitignore
LICENSE
README.md
pubspec.yaml

README.md

shapefile.dart

Shapefile parser in dart / js

Shapefile header records <[Shapefile.Record]>

Box minX minY maxX maxY

Range min max

Shapefile.Header fileCode fileLength ( in 16 bit words ) version shapeType boundingBox zRange mRange

Shapefile.Record header content

Shapefile.Record.Header recordNumber ( begins at 1 ) recordLength ( in 16 bit words )

Shapefile.Record.Content shapeType shape

Shape

Shape.Null

Shape.Point x y

Shape.MultiPoint boundingBox numPoints points <[Shape.Point]>

Shape.PolyLine boundingBox numParts numPoints parts <[Integer]> points <[Shape.Point]>

Shape.Polygon boundingBox numParts numPoints parts <[Integer]> points <[Shape.Point]>

Shape.PointM x y m

Shape.MultiPointM boundingBox numPoints points <[Shape.Point]> mRange m <[Double]>

Shape.PolyLineM boundingBox numParts numPoints parts <[Integer]> points <[Shape.Point]> mRange m <[Double]>

Shape.PolygonM boundingBox numParts numPoints parts <[Integer]> points <[Shape.Point]> mRange m <[Double]>

Shape.PointZ x y z m

Shape.MultiPointZ boundingBox numPoints points <[Shape.Point]> zRange z <[Double]> mRange m <[Double]>

Shape.PolyLineZ boundingBox numParts numPoints parts <[Integer]> points <[Shape.Point]> zRange z <[Double]> mRange m <[Double]>

Shape.PolygonZ boundingBox numParts numPoints parts <[Integer]> points <[Shape.Point]> zRange z <[Double]> mRange m <[Double]>

Shape.MultiPatch boundingBox numParts numPoints parts <[Integer]> partTypes <[Shapefile.SHAPE_TYPE]> points <[Shape.Point]> zRange z <[Double]> mRange m <[Double]>

Shapefile.Index header records <[Shapefile.Index.Record]>

Shapefile.Index.Record offset ( in 16 bit words ) contentLength ( in 16 bit words )