Skip to content

Instantly share code, notes, and snippets.

@eduramirezh
Created March 22, 2018 10:51
Show Gist options
  • Save eduramirezh/47d15ae63bddb90440b56fb0270e5e53 to your computer and use it in GitHub Desktop.
Save eduramirezh/47d15ae63bddb90440b56fb0270e5e53 to your computer and use it in GitHub Desktop.
Exampe of the issue being faced when using snaptogrid and union
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
23.4094,
42.6401
],
[
23.40952,
42.64011
],
[
23.40976,
42.63978
],
[
23.40994,
42.63795
],
[
23.41031,
42.63667
],
[
23.41075,
42.63655
],
[
23.411,
42.63707
],
[
23.41406,
42.63711
],
[
23.41409,
42.63709
],
[
23.4146,
42.63747
],
[
23.41448,
42.63816
],
[
23.41652,
42.63971
],
[
23.41674,
42.63983
],
[
23.41728,
42.64057
],
[
23.41728,
42.64077
],
[
23.41655,
42.64088
],
[
23.41564,
42.64235
],
[
23.41361,
42.64368
],
[
23.41333,
42.64368
],
[
23.41211,
42.64466
],
[
23.41075,
42.64485
],
[
23.40931,
42.64683
],
[
23.4093,
42.64742
],
[
23.40909,
42.64755
],
[
23.40813,
42.6474
],
[
23.40763,
42.64769
],
[
23.40625,
42.64907
],
[
23.40581,
42.64907
],
[
23.40463,
42.64906
],
[
23.4032,
42.64826
],
[
23.40223,
42.64944
],
[
23.40213,
42.64944
],
[
23.40207,
42.64944
],
[
23.40213,
42.64896
],
[
23.40087,
42.64802
],
[
23.40111,
42.64744
],
[
23.40178,
42.64704
],
[
23.40206,
42.64566
],
[
23.40253,
42.64537
],
[
23.40486,
42.64435
],
[
23.40488,
42.64433
],
[
23.40488,
42.64417
],
[
23.40488,
42.64399
],
[
23.40488,
42.64397
],
[
23.40489,
42.6439
],
[
23.40491,
42.64381
],
[
23.40491,
42.64379
],
[
23.40492,
42.64375
],
[
23.40494,
42.6437
],
[
23.40497,
42.64361
],
[
23.40498,
42.64359
],
[
23.40499,
42.64357
],
[
23.40501,
42.64356
],
[
23.40503,
42.64352
],
[
23.40506,
42.64349
],
[
23.40506,
42.64348
],
[
23.40507,
42.64347
],
[
23.40754,
42.64083
],
[
23.4094,
42.6401
]
]
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
23.4094,
42.6401
],
[
23.40754,
42.64083
],
[
23.40507,
42.64347
],
[
23.40506,
42.64348
],
[
23.40506,
42.64349
],
[
23.40503,
42.64352
],
[
23.40501,
42.64356
],
[
23.40499,
42.64357
],
[
23.40498,
42.64359
],
[
23.40497,
42.64361
],
[
23.40494,
42.6437
],
[
23.40492,
42.64375
],
[
23.40491,
42.64379
],
[
23.40491,
42.64381
],
[
23.40489,
42.6439
],
[
23.40488,
42.64397
],
[
23.40488,
42.64399
],
[
23.40488,
42.64417
],
[
23.40487,
42.64624
],
[
23.40487,
42.6463
],
[
23.41048,
42.64493
],
[
23.4106,
42.64473
],
[
23.41222,
42.64038
],
[
23.4094,
42.6401
]
]
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment