Skip to content

Instantly share code, notes, and snippets.

@Pritoj
Created October 26, 2016 12:15
Show Gist options
  • Save Pritoj/1dbf56c73bd6086b35370b3eaa40d30a to your computer and use it in GitHub Desktop.
Save Pritoj/1dbf56c73bd6086b35370b3eaa40d30a to your computer and use it in GitHub Desktop.
Room
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [1, -1] },
"properties": { "name": "Beer Bottle" }
}, {
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[0, -10],
[3, -10]
]
},
"properties": {
"name": "Door"
}
}, {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[4, 0],
[3, -7],
[10, -7],
[10, 0],
[4, 0]
],
[
[5, -1],
[5, -2],
[6, -2],
[6, -1],
[5, -1]
]
]
},
"properties": {
"name": "Bed"
}
}, {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[3, 0],
[4, 0],
[4, -1],
[3, -1],
[3, 0]
]
]
},
"properties": {
"name": "Table"
}
}, {
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[8, -7],
[8, -10],
[10, -10],
[10, -7],
[8, -7]
]
]
},
"properties": {
"name": "Cupboard"
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment