Documentation ¶
Index ¶
- func FromLonLat(code int, lon, lat float64) (float64, float64, error)
- func Overlaps(b1, b2 *shp.Box) bool
- func PolylineToLineString(polyline *shp.PolyLine, code int) (*orb.LineString, error)
- func ReprojectBoxFromWGS84(box *shp.Box, code int) (*shp.Box, error)
- func ToLonLat(code int, x, y float64) (float64, float64, error)
- type Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromLonLat ¶
FromLonLat converts a longitude and latitude to a set of coordinates in the specified EPSG code.
func Overlaps ¶
func Overlaps(b1, b2 *shp.Box) bool
Overlaps indicates whether two bounding boxes overlap.
func PolylineToLineString ¶
func PolylineToLineString(polyline *shp.PolyLine, code int) (*orb.LineString, error)
PolylineToLineString converts a Shapefile polyline to a LineString. This will also perform reprojection from the specified EPSG code to WGS84.
func ReprojectBoxFromWGS84 ¶
ReprojectBoxFromWGS84 reprojects the coordinates of a bounding box from WGS84 to a specified EPSG code.
Types ¶
Click to show internal directories.
Click to hide internal directories.