Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Read and write ESRI Shapefiles.
This implementation follows the technical description provided by ESRI. This description can be found here.
type shape =
| Null
the null shape
*)| Point of D2.point
| PointM of D2M.point
| PointZ of D3M.point
a single point
*)| MultiPoint of D2.bbox * D2.point array
| MultiPointM of D2M.bbox * D2M.point array
| MultiPointZ of D3M.bbox * D3M.point array
a set of points with its bounding box
*)| PolyLine of D2.bbox * D2.point array array
| PolyLineM of D2M.bbox * D2M.point array array
| PolyLineZ of D3M.bbox * D3M.point array array
a set of lines with its bounding box
*)| Polygon of D2.bbox * D2.point array array
| PolygonM of D2M.bbox * D2M.point array array
| PolygonZ of D3M.bbox * D3M.point array array
a polygon (set of rings) with its bounding box
*)| MultiPatch
not implemented yet
*)The type of a shape.
val read : string -> Common.header * shape list
Shp.read file
parses the file
and returns a list of shapes.