Skip to content

Instantly share code, notes, and snippets.

@andrewharvey
Created March 10, 2018 02:21
Show Gist options
  • Save andrewharvey/971b9db1900a62efa7635f6a6d337ae7 to your computer and use it in GitHub Desktop.
Save andrewharvey/971b9db1900a62efa7635f6a6d337ae7 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": "Polygon",
"coordinates": [
[
[
-120,
60
],
[
120,
60
],
[
120,
-60
],
[
-120,
-60
],
[
-120,
60
]
],
[
[
-60,
30
],
[
60,
30
],
[
60,
-30
],
[
-60,
-30
],
[
-60,
30
]
]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment