Documentation ¶
Index ¶
- type Feature
- func GeometryCollection(geometries []Geometry, properties interface{}) *Feature
- func LineString(coordinates [][]float64, properties interface{}) *Feature
- func MultiLineString(coordinates [][][]float64, properties interface{}) *Feature
- func MultiPoint(coordinates [][]float64, properties interface{}) *Feature
- func MultiPolygon(coordinates [][][][]float64, properties interface{}) *Feature
- func Point(coordinates []float64, properties interface{}) *Feature
- func Polygon(coordinates [][][]float64, properties interface{}) *Feature
- type GeoJSON
- type Geometry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct { Type string `json:"type"` Geometry Geometry `json:"geometry"` Properties interface{} `json:"properties"` }
func GeometryCollection ¶
func LineString ¶
func MultiLineString ¶
func MultiPoint ¶
func MultiPolygon ¶
type GeoJSON ¶
type GeoJSON struct { Type geojsontypes.GeoJSONType `json:"type"` // types/geojson_types BBox types.BBox `json:"bbox"` Features []Feature `json:"features"` Coordinates any `json:"coordinates"` Geometries []Geometry `json:"geometries"` Geometry Geometry `json:"geometry"` Properties interface{} `json:"properties"` }
func FeatureCollection ¶
type Geometry ¶
type Geometry struct { Type geometrytypes.GeometryType `json:"type"` // types/geometry_types Coordinates any `json:"coordinates"` Geometries []Geometry `json:"geometries"` }
Click to show internal directories.
Click to hide internal directories.