Skip to content

Instantly share code, notes, and snippets.

@ateucher
Last active August 29, 2015 14:08
Show Gist options
  • Save ateucher/77d7f9d0682d1702c3aa to your computer and use it in GitHub Desktop.
Save ateucher/77d7f9d0682d1702c3aa to your computer and use it in GitHub Desktop.
Mixing geometry types in geojson
Display the source blob
Display the rendered blob
Raw
{ "type": "GeometryCollection",
"geometries": [
{ "type": "Point",
"name": "Point",
"coordinates": [100.0, 0.0]
},
{ "type": "LineString",
"name": "Line",
"coordinates": [ [101.0, 0.0], [102.0, 1.0] ]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment