Feature: Feature

Description See Also Examples

Description

A GeoJSON object with the type "Feature" is a feature object:

See Also

Other geo types: FeatureCollection, GeometryCollection, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon, geojson-types

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
'{
  "type": "Feature",
  "properties": {
    "population": 200
  },
  "geometry": {
    "type": "Point",
    "coordinates": [10.724029, 59.926807]
  }
}'

Example output

[1] "{\n  \"type\": \"Feature\",\n  \"properties\": {\n    \"population\": 200\n  },\n  \"geometry\": {\n    \"type\": \"Point\",\n    \"coordinates\": [10.724029, 59.926807]\n  }\n}"

geoops documentation built on July 1, 2020, 10:39 p.m.