Skip to content

Instantly share code, notes, and snippets.

@kelsey-sorrels
Created October 24, 2012 05:35
Show Gist options
  • Save kelsey-sorrels/3944237 to your computer and use it in GitHub Desktop.
Save kelsey-sorrels/3944237 to your computer and use it in GitHub Desktop.
GeoJSON example
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{"geometry": {
"type": "GeometryCollection",
"geometries": [
{
"type": "LineString",
"coordinates":
[[11.0878902207, 45.1602390564],
[15.01953125, 48.1298828125]]
},
{
"type": "Polygon",
"coordinates":
[[[11.0878902207, 45.1602390564],
[14.931640625, 40.9228515625],
[0.8251953125, 41.0986328125],
[7.63671875, 48.96484375],
[11.0878902207, 45.1602390564]]]
},
{
"type":"Point",
"coordinates":[15.87646484375, 44.1748046875]
}
]
},
"type": "Feature",
"properties": {}}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment