Remove buggy optimization to avoid reclipping in overzoom (#275)

* Remove buggy optimization to avoid reclipping in overzoom

* Add clarifying comment
This commit is contained in:
Erica Fischer
2024-10-01 10:22:41 -07:00
committed by GitHub
parent 66e5d66300
commit 23c6559b03
4 changed files with 9 additions and 4 deletions
+2 -1
View File
@@ -280,7 +280,8 @@ overzoom-test: tippecanoe-overzoom
cmp tests/pbf/13-1310-3166.pbf.json.check tests/pbf/13-1310-3166.pbf.json
rm tests/pbf/13-1310-3166.pbf tests/pbf/13-1310-3166.pbf.json.check
# Make sure feature order is stable
./tippecanoe-overzoom --preserve-input-order -o tests/pbf/11-327-791-out.pbf tests/pbf/11-327-791.pbf 11/327/791 11/327/791
# Large -b20 tile buffer to prevent altering the geometries by clipping
./tippecanoe-overzoom -b20 --preserve-input-order -o tests/pbf/11-327-791-out.pbf tests/pbf/11-327-791.pbf 11/327/791 11/327/791
./tippecanoe-decode tests/pbf/11-327-791.pbf 11 327 791 > tests/pbf/11-327-791.json
./tippecanoe-decode tests/pbf/11-327-791-out.pbf 11 327 791 > tests/pbf/11-327-791-out.json
cmp tests/pbf/11-327-791.json tests/pbf/11-327-791-out.json