mapbox / tippecanoe

Build vector tilesets from large collections of GeoJSON features.
BSD 2-Clause "Simplified" License
2.71k stars 429 forks source link

Feature offset ? #968

Open iije opened 1 year ago

iije commented 1 year ago

Hi, I notice that my area features that I generated to mbtiles has an offset in their positioning when viewed closeup. Is this normal?

tippecanoe -f --no-tile-size-limit --no-simplification-of-shared-nodes --no-tiny-polygon-reduction --no-line-simplification --minimum-zoom=18 --maximum-zoom=18 -o /tippecanoe/Land.mbtiles /tippecanoe/Land.geojson

a

iije commented 1 year ago

Same goes of line features.

tippecanoe -f --no-tile-size-limit --no-simplification-of-shared-nodes --no-tiny-polygon-reduction --no-line-simplification --minimum-zoom=18 --maximum-zoom=18 --no-line-simplification -o /tippecanoe/road.mbtiles /tippecanoe/road.geojson

b

e-n-f commented 1 year ago

This should be fixed (or at least should be evenly distributed instead of always down and to the right) in the Felt version of Tippecanoe via https://github.com/felt/tippecanoe/pull/60

iije commented 1 year ago

i tried using metacollin/tippecanoe in docker.

docker run -it --rm -v c:/tippecanoe:/tippecanoe metacollin/tippecanoe:latest tippecanoe -pn -f -o /tippecanoe/Land.mbtiles /tippecanoe/Land.geojson

Which i still get the same offset. aa bb