package
1.0.0
Repository: https://github.com/everystreet/go-shapefile.git
Documentation: pkg.go.dev

# Functions

DecodeBoundingBox decodes the bounding box coordinates.
DecodeBoundingBoxP decodes the bounding box coordinates with a specified precision.
DecodeHeader decodes a shp header.
DecodePoint decodes a single point shape.
DecodePointP decodes a single point shape with specified precision.
DecodePolygon decodes a single polygon shape, but does not validate its complicance with the spec.
DecodePolygonP decodes a single polygon shape with the specified precision, but does not validate its complicance with the spec.
DecodePolyline parses a single polyline shape, but does not validate its complicance with the spec.
DecodePolylineP parses a single polyline shape with the specified precision, but does not validate its complicance with the spec.
MakePoint creates a new Point for the provided coordinate.
MakeValidator creates a new Validator based on the constraints of a particular shp file.
NewError returns an attached to record number.
NewScanner creates a new Scanner for the supplied source.
PointPrecision sets the precision of coordinates.

# Constants

Valid shape types.
Valid shape types.
Valid shape types.
Valid shape types.
Null shapes are allowed in any shp file, regardless of the type specified in the header.
Valid shape types.
Valid shape types.
Valid shape types.
Valid shape types.
Valid shape types.
Valid shape types.
Valid shape types.
Valid shape types.
Valid shape types.

# Structs

BoundingBox of the shape file.
Error describes an error that occured when parsing a shape.
Header represents a shp header.
Point is a single pair of X and Y coordinates.
Polyline is an ordered set of verticies that consists of one or more parts, where a part is one or more Point.
Scanner parses a shp file.
Validator is used to validate shapes inside a shp file.

# Interfaces

Shape provides common information for all shapes of any type.

# Type aliases

Option funcs can be passed to NewScanner().
Part is a sequence of Points.
Polygon has the same syntax as a Polyline, but the parts should be unbroken rings.
Shapes represents a collection of shapes.
ShapeType represents a shape type in the shp file.