Skip to content

Instantly share code, notes, and snippets.

@macteo
Forked from andrewharvey/polygon-with-a-hole.geojson
Last active October 8, 2020 16:04
Show Gist options
  • Select an option

  • Save macteo/ea5a8337163f5f638a221f329dc870e7 to your computer and use it in GitHub Desktop.

Select an option

Save macteo/ea5a8337163f5f638a221f329dc870e7 to your computer and use it in GitHub Desktop.

Revisions

  1. macteo revised this gist Oct 8, 2020. 1 changed file with 47 additions and 19 deletions.
    66 changes: 47 additions & 19 deletions polygon-with-a-hole.geojson
    Original file line number Diff line number Diff line change
    @@ -28,25 +28,53 @@
    ],
    [
    [
    -90,
    30
    ],
    [
    90,
    0
    ],
    [
    90,
    -0
    ],
    [
    -90,
    -0
    ],
    [
    -90,
    0
    ]
    10.250244140625,
    45.932050196856295
    ],
    [
    10.51116943359375,
    45.62940492064501
    ],
    [
    11.41754150390625,
    45.60058738537025
    ],
    [
    11.92291259765625,
    45.817315080406246
    ],
    [
    12.06573486328125,
    46.22735299655779
    ],
    [
    11.95587158203125,
    46.51918574163987
    ],
    [
    11.664733886718748,
    46.626806395355175
    ],
    [
    11.34063720703125,
    46.707852594536355
    ],
    [
    10.7171630859375,
    46.685247274319565
    ],
    [
    10.59906005859375,
    46.55130547880643
    ],
    [
    10.24749755859375,
    46.492719928122746
    ],
    [
    10.250244140625,
    45.932050196856295
    ]
    ]
    ]
    }
  2. macteo revised this gist Oct 8, 2020. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions polygon-with-a-hole.geojson
    Original file line number Diff line number Diff line change
    @@ -6,29 +6,29 @@
    "coordinates": [
    [
    [
    -120,
    -180,
    90
    ],
    [
    120,
    180,
    90
    ],
    [
    120,
    180,
    -90
    ],
    [
    -120,
    -180,
    -90
    ],
    [
    -120,
    60
    -180,
    90
    ]
    ],
    [
    [
    -60,
    -90,
    30
    ],
    [
  3. macteo revised this gist Oct 8, 2020. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions polygon-with-a-hole.geojson
    Original file line number Diff line number Diff line change
    @@ -7,19 +7,19 @@
    [
    [
    -120,
    60
    90
    ],
    [
    120,
    60
    90
    ],
    [
    120,
    -60
    -90
    ],
    [
    -120,
    -60
    -90
    ],
    [
    -120,
  4. macteo revised this gist Oct 8, 2020. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions polygon-with-a-hole.geojson
    Original file line number Diff line number Diff line change
    @@ -32,20 +32,20 @@
    30
    ],
    [
    60,
    30
    90,
    0
    ],
    [
    60,
    -30
    90,
    -0
    ],
    [
    -60,
    -30
    -90,
    -0
    ],
    [
    -60,
    30
    -90,
    0
    ]
    ]
    ]
  5. @andrewharvey andrewharvey created this gist Mar 10, 2018.
    53 changes: 53 additions & 0 deletions polygon-with-a-hole.geojson
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,53 @@
    {
    "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
    ]
    ]
    ]
    }
    }