felt/tippecanoe

[Help] : PMTiles output is not working

Opened this issue · 1 comments

Version used : tippecanoe v2.37.0

command :

tippecanoe -zg --projection=EPSG:4326 -o exports/testzzz_pmtiles_uid_273d0107-f0b1-49e9-9be4-bc6a8d97bff4/test12z.pmtiles -l testzzz exports/testzzz_pmtiles_uid_273d0107-f0b1-49e9-9be4-bc6a8d97bff4/testzzz.geojson --force

Error :

tippecanoe: Tileset "exports/testzzz_pmtiles_uid_273d0107-f0b1-49e9-9be4-bc6a8d97bff4/test12z.pmtiles" already exists. You can use --force if you want to delete the old tileset.
tippecanoe: database is locked

I am using the --force option , and made sure there is no previous file in the disk before running the command , Can you help me out what I am doing wrong ?

I think the problem is that you added --force after the input filename: try moving it to before.

Instead of this command:

tippecanoe -zg --projection=EPSG:4326 -o exports/testzzz_pmtiles_uid_273d0107-f0b1-49e9-9be4-bc6a8d97bff4/test12z.pmtiles -l testzzz exports/testzzz_pmtiles_uid_273d0107-f0b1-49e9-9be4-bc6a8d97bff4/testzzz.geojson --force

Try this:

tippecanoe -zg --projection=EPSG:4326 -o exports/testzzz_pmtiles_uid_273d0107-f0b1-49e9-9be4-bc6a8d97bff4/test12z.pmtiles -l testzzz --force exports/testzzz_pmtiles_uid_273d0107-f0b1-49e9-9be4-bc6a8d97bff4/testzzz.geojson