There are a couple of approaches to encoding elevation in geojson.
coordinates
key should an array of numbers, which are ordered easting
, northing
and (optionally) altitude
. The array represents a position.properties
.Both approaches are demonstrated below.
{
"type": "Feature",
"properties": {
"name": "Mount Ruapehu",
"elevation_m": 2797
},
"geometry": {
"type": "Point",
"coordinates": [
175.55890560150146,
-39.28834275351452,
2797
]
}
}