Files
tippecanoe/tests/pbf/region.json
T
Erica Fischer dcc616d3d4 Adding optional clipping to tippecanoe-overzoom (#298)
* Plumb a clip bounding box around through overzoom

* Actually do some clipping

* Add a test

* Fix post-binning clipping

* Factoring out geometry parsing from feature parsing

* Accept a clip polygon argument to tippecanoe-overzoom

* Progress in the direction of polygon clipping

* Fix the wagyu flags. We need intersection, not union

* Remove debug spew

* Clip points to polygon bounds too

* Copy the geometric binning code to serve as intersection-finding code

* Add clipper2 for linestring clipping

* Compiles, but does not actually seem to clip. Hmm.

* Oh, it helps if I actually call the function

* Add clipping tests

* Add missing fixture, and don't crash if it is missing

* Remember to do polygon clipping after binning too

* Fix scaling before post-binning clipping. Add test.

* Remove unused parts of clipper

* Rename for consistency

* Revert accidentally added line

* Clip the clip regions to the tile bounds to reduce their complexity

* Add a test of clipping the clip region down to the tile boundary

* Update version and changelog
2024-11-27 13:43:40 -08:00

136 lines
3.2 KiB
JSON

{
"coordinates": [
[
[
[
13.577060272719763,
53.17369971291083
],
[
10.704205888641951,
52.74867374387799
],
[
8.234559137417222,
50.4321686022941
],
[
4.20248280888643,
49.91569934015271
],
[
3.3960675431802656,
47.351710786357756
],
[
4.958497120486356,
45.82785468647634
],
[
7.680148642243836,
45.54618382040567
],
[
10.704205888641951,
47.82759699398349
],
[
13.728263135039242,
48.332677316517476
],
[
16.903523243756865,
47.24917200504791
],
[
19.272368086768267,
48.26561972235635
],
[
19.52437285730184,
50.97481113632679
],
[
16.701919427330296,
52.53459175523133
],
[
13.577060272719763,
53.17369971291083
]
],
[
[
14.78668317127898,
51.66775442536286
],
[
12.46823928237373,
51.6051918576735
],
[
11.208215429708275,
50.78400718973347
],
[
11.359418292027812,
49.980563422399655
],
[
12.417838328266726,
49.39363856874314
],
[
14.181871721999357,
49.32798696801095
],
[
16.046707023944435,
50.62440671313237
],
[
14.78668317127898,
51.66775442536286
]
]
],
[
[
[
21.055284848897287,
46.16048194834923
],
[
18.988845730525668,
45.81027671022295
],
[
18.53523714356635,
45.13878150945956
],
[
18.585638097672586,
43.989754759795915
],
[
19.896062904445103,
43.18663878167516
],
[
22.31530870156351,
44.134624205316555
],
[
22.31530870156351,
45.280813880909534
],
[
21.055284848897287,
46.16048194834923
]
]
]
],
"type": "MultiPolygon"
}