[Tile-serving] [openstreetmap/osm2pgsql] Flex output returns PBF error: invalid BlobHeader size (#1348)
Sarah Hoffmann
notifications at github.com
Tue Dec 1 07:28:36 UTC 2020
Your command line parameters are wrong. `-s` is the option for `--slim` which does not take a parameter. Therefore, osm2pgsql is trying to read the lua file as the input file. To parse a file with the flex output you need:
osm2pgsql -s -O flex -S ~/git/osm2pgsql/flex-config/generic.lua -d pgosm_flex ./district-of-columbia-latest.osm.pbf
As this happens regularly, we should enhance the error `ERROR: Cannot detect file format` and print out the name of the file it was trying to read.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1348#issuecomment-736279862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201130/47b95bd1/attachment.htm>
More information about the Tile-serving
mailing list