Add an option not to clip features and to include each exactly once per zoom

This commit is contained in:
Eric Fischer
2016-04-20 15:06:43 -07:00
parent 41099ed731
commit ea638914ce
14 changed files with 2477 additions and 77 deletions
+1
View File
@@ -129,6 +129,7 @@ resolution is obtained than by using a smaller _maxzoom_ or _detail_.
* -pi or --preserve-input-order: Preserve the original input order of features as the drawing order instead of ordering geographically. (This is implemented as a restoration of the original order at the end, so that dot-dropping is still geographic, which means it also undoes -ao).
* -pp or --no-polygon-splitting: Don't split complex polygons (over 700 vertices after simplification) into multiple features.
* -pc or --no-clipping: Don't clip features to the size of the tile. If a feature overlaps the tile's bounds or buffer at all, it is included completely. Be careful: this can produce very large tilesets, especially with large polygons.
* -pD or --no-duplication: As with --no-clipping, each feature is included intact instead of cut to tile boundaries. In addition, it is included only in a single tile per zoom level rather than potentially in multiple copies. Clients of the tileset must check adjacent tiles (possibly some distance away) to ensure they have all features.
* -q or --quiet: Work quietly instead of reporting progress
Example