Skip to content

Instantly share code, notes, and snippets.

@sumitasok
Last active May 20, 2020 04:57
Show Gist options
  • Save sumitasok/f434f6f8ffb10f394254e3d482537222 to your computer and use it in GitHub Desktop.
Save sumitasok/f434f6f8ffb10f394254e3d482537222 to your computer and use it in GitHub Desktop.
Sample GeoJson
{
'type': 'RGB'
'bandInfo': {
0 : { 'type': '...', 'colorinterpreter': 'R' }
1 : { 'type': '...', 'colorinterpreter': 'G' }
}
'cogInfo': {}
'mapTile': {}
}
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [102.0, 0.5]
},
"properties": {
"prop0": "value0"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[102.0, 0.0], [103.0, 1.0], [104.0, 0.0], [105.0, 1.0]
]
},
"properties": {
"prop0": "value0",
"prop1": 0.0
}
},
{
"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": {
"prop0": "value0",
"prop1": { "this": "that" }
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment