Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save congtoan/ada0ba0e18e5dcf5a5fa6d2298bd9930 to your computer and use it in GitHub Desktop.
Save congtoan/ada0ba0e18e5dcf5a5fa6d2298bd9930 to your computer and use it in GitHub Desktop.
A GeoJSON Polygon with a hole
Display the source blob
Display the rendered blob
Raw
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "MultiPolygon", "coordinates": [
[
[
[ -120, 60 ], [ 120, 60 ], [ 120, -60 ], [ -120, -60 ], [ -120, 60 ]
],
[
[ -60, 30 ], [ 60, 30 ], [ 60, -30 ], [ -60, -30 ], [ -60, 30 ]
]
],
[
[
[70,0],[110,40],[110,-40]
]
]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment