mirror of
https://github.com/felt/tippecanoe.git
synced 2026-12-05 06:41:41 +01:00
Document that -pn leaves out polygons that collapse entirely and only border others
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQ6vQUJtmGZnqz7RmVYQaJ
This commit is contained in:
@@ -513,7 +513,7 @@ the same layer, enclose them in an `all` expression so they will all be evaluate
|
||||
* `-pt` or `--no-tiny-polygon-reduction`: Don't combine the area of very small polygons into small squares that represent their combined area.
|
||||
* `-pT` or `--no-tiny-polygon-reduction-at-maximum-zoom`: Combine the area of very small polygons into small squares that represent their combined area only at zoom levels below the maximum.
|
||||
* `--tiny-polygon-size=`_size_: Use the specified _size_ for tiny polygons instead of the default 2. Anything above 6 or so will lead to visible artifacts with the default tile detail.
|
||||
* `--no-spindle-preservation`: Don't preserve the narrow parts of polygons. Normally, parts of polygons that are too narrow to survive being rounded to tile coordinates (like a buffer of a few meters around a long road or river) are kept as continuous lines of polygon one pixel wide, and long, narrow polygons are kept as polygons rather than being combined into tiny-polygon squares. A polygon that still collapses away entirely is replaced by a line one pixel wide along its outline, rather than by a rectangle with its area. With this option, they are allowed to collapse away, which leaves them as scattered fragments wherever the rounding happens to keep their two sides apart. With `--no-simplification-of-shared-nodes`, narrow parts are not preserved where that would make them overlap a neighboring feature that shares a border with them, like a panhandle between two other political units, so that features that tile exactly continue to do so.
|
||||
* `--no-spindle-preservation`: Don't preserve the narrow parts of polygons. Normally, parts of polygons that are too narrow to survive being rounded to tile coordinates (like a buffer of a few meters around a long road or river) are kept as continuous lines of polygon one pixel wide, and long, narrow polygons are kept as polygons rather than being combined into tiny-polygon squares. A polygon that still collapses away entirely is replaced by a line one pixel wide along its outline, rather than by a rectangle with its area. With this option, they are allowed to collapse away, which leaves them as scattered fragments wherever the rounding happens to keep their two sides apart. With `--no-simplification-of-shared-nodes`, narrow parts are not preserved where that would make them overlap a neighboring feature that shares a border with them, like a panhandle between two other political units, and a polygon that collapses away entirely and only borders other features is left out rather than replaced, so that features that tile exactly continue to do so.
|
||||
* `-av` or `--visvalingam`: Use Visvalingam's simplification algorithm rather than Douglas-Peucker's.
|
||||
|
||||
### Attempts to improve shared polygon boundaries
|
||||
|
||||
Reference in New Issue
Block a user