You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, we noticed that when using the -zg option, we are unable to generate tiles for a very small data, such as the geojson below that contains just one line. But using -z15 on that same data produces tiles as expected. See the command and the output below the geojson. Is there any workaround or a fix that we could use to make the tiler works with the -zg option?
When using -zg, the chosen max zoom is 1 but it actually only generates the metadata file:
% tippecanoe --drop-smallest-as-needed --no-tile-compression -S10 --simplify-only-low-zooms -zg --layer=geojson -e tests/small_layer small_layer.geojson
error_layer.geojson: Warning: GeoJSON specified projection "EPSG:4326", not the expected "urn:ogc:def:crs:OGC:1.3:CRS84".
error_layer.geojson: If "urn:ogc:def:crs:OGC:1.3:CRS84" is not the expected projection, use -s to specify the right one.
1 features, 48 bytes of geometry and attributes, 24 bytes of string pool, 0 bytes of vertices, 0 bytes of nodes
Choosing a maxzoom of -z1 for resolution of about 146766 feet (44734 meters) within features
95.8% 1/0/0
But when using for example -z15 it generates all the tiles as expected:
% tippecanoe --drop-smallest-as-needed --no-tile-compression -S10 --simplify-only-low-zooms -z15 --layer=geojson -e tests/small_layer small_layer.geojson
error_layer.geojson: Warning: GeoJSON specified projection "EPSG:4326", not the expected "urn:ogc:def:crs:OGC:1.3:CRS84".
error_layer.geojson: If "urn:ogc:def:crs:OGC:1.3:CRS84" is not the expected projection, use -s to specify the right one.
1 features, 46 bytes of geometry and attributes, 24 bytes of string pool, 0 bytes of vertices, 0 bytes of nodes
96.2% 15/16159/10088
The text was updated successfully, but these errors were encountered:
Hello, we noticed that when using the
-zg
option, we are unable to generate tiles for a very small data, such as the geojson below that contains just one line. But using-z15
on that same data produces tiles as expected. See the command and the output below the geojson. Is there any workaround or a fix that we could use to make the tiler works with the-zg
option?When using
-zg
, the chosen max zoom is 1 but it actually only generates the metadata file:But when using for example
-z15
it generates all the tiles as expected:The text was updated successfully, but these errors were encountered: