[Tile-serving] [openstreetmap/osm2pgsql] Osm2pgsql ERROR: Cannot detect file format (#856)

Sarah Hoffmann notifications at github.com
Mon Jul 16 08:39:41 UTC 2018


The suspicious part of the output is this one:

    Reading in file: –s

`osm2pgsql` does not recognize the option as an option but interprets it as a fie name instead. My guess would be that you have defined an alias for osm2pgsql in your shell or have a script somewhere with that name that does strange things.

Another possibility: the hyphen is not an hyphen. That can happen when you copy instructions from a website that use m-dashes or the like instead of a simple ASCII hyphen. Retype the line by hand in that case.

-- 
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/856#issuecomment-405180946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180716/b60874ad/attachment.html>


More information about the Tile-serving mailing list