Skip to content

Instantly share code, notes, and snippets.

@andrewharvey
Created August 24, 2019 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save andrewharvey/978590af4d5ebb1d0ed122da6ce7ebea to your computer and use it in GitHub Desktop.
Save andrewharvey/978590af4d5ebb1d0ed122da6ce7ebea to your computer and use it in GitHub Desktop.
GeoJSON Polygon with a hole
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-132.1875,
-71.74643171904148
],
[
172.6171875,
-71.74643171904148
],
[
172.6171875,
82.98340359715496
],
[
-132.1875,
82.98340359715496
],
[
-132.1875,
-71.74643171904148
]
],
[
[
-19.6875,
-6.664607562172573
],
[
63.28125,
-6.664607562172573
],
[
63.28125,
54.36775852406841
],
[
-19.6875,
54.36775852406841
],
[
-19.6875,
-6.664607562172573
]
]
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment