Skip to content

Instantly share code, notes, and snippets.

@davestacey
Last active August 29, 2015 14:07
Show Gist options
  • Save davestacey/724e4416234a95ddd5ca to your computer and use it in GitHub Desktop.
Save davestacey/724e4416234a95ddd5ca to your computer and use it in GitHub Desktop.
geoJSON sample
Display the source blob
Display the rendered blob
Raw
{"type":"Polygon","coordinates":[[[100,0],[101,0],[101,1],[100,1],[100,0]]]}
(Singapore)
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0],
[100.0, 0.0]
]
]
},
"properties": {
"prop1": {
"this": "that"
},
"prop0": "value0"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment