Documentation ¶
Index ¶
- func BoundingBoxesForFeature(f geojson.Feature) (geojson.BoundingBoxes, error)
- func FeatureContainsCoord(f geojson.Feature, c geom.Coord) (bool, error)
- func GeometryForFeature(f geojson.Feature) (*geojson.Geometry, error)
- func PolygonsContainsCoord(polys []geojson.Polygon, c geom.Coord) (bool, error)
- func PolygonsForFeature(f geojson.Feature) ([]geojson.Polygon, error)
- func PolygonsForGeometry(g *geojson.Geometry) ([]geojson.Polygon, error)
- type Bboxes
- type Polygon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoundingBoxesForFeature ¶
func BoundingBoxesForFeature(f geojson.Feature) (geojson.BoundingBoxes, error)
func FeatureContainsCoord ¶
func GeometryForFeature ¶
func GeometryForFeature(f geojson.Feature) (*geojson.Geometry, error)
func PolygonsContainsCoord ¶
func PolygonsForFeature ¶
func PolygonsForFeature(f geojson.Feature) ([]geojson.Polygon, error)
func PolygonsForGeometry ¶
func PolygonsForGeometry(g *geojson.Geometry) ([]geojson.Polygon, error)
Types ¶
type Bboxes ¶
type Polygon ¶
type Polygon struct { geojson.Polygon `json:",omitempty"` Exterior geom.Polygon `json:"exterior"` Interior []geom.Polygon `json:"interior"` }
func (Polygon) ExteriorRing ¶
func (Polygon) InteriorRings ¶
Click to show internal directories.
Click to hide internal directories.