The key words, "MUST", "SHOULD", "MAY" in this document are to be interpreted as described in RFC 2119.
A gazetteer is a GeoJSON FeatureCollection object. Each entry, (aka "place") is represented by a Feature object.
In addition to conforming to valid GeoJSON, the rules on these members are as follows:
- MUST contain a
name
(string) member.
type
member MUST be a value ofPoint
.
- MUST contain a
zoom
(number) member between 0 & 22. - MUST contain a
place_name
(string) member. - SHOULD contain a
place_description
(string) member. - MAY contain a
tags
member, whose value is an array of strings. - MAY contain a
pitch
(number) member between 0 & 60. - MAY contain a
bearing
(number) member between -179 & 180.
{
"type": "FeatureCollection",
"name": "Large Urban Parks",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-73.96067, 40.78166]
},
"properties": {
"place_name": "Central Park, New York City",
"place_description": "Famous urban park containing many attractions",
"zoom": 13,
"pitch": 60,
"bearing": -179,
"tags": ["landform-park", "landuse"]
}
}
]
}