[Tile-serving] [openstreetmap/osm2pgsql] fix error for failed format dectection and format in usage example (#643)

Sarah Hoffmann notifications at github.com
Sun Nov 13 22:32:54 UTC 2016


When throwing an exception because libosmium cannot detect the
file format, the check for auto detection was wrong and thus
a confusing message was printed.

Also adds an explicit format switch for the usage example for
updating the database because libosmium cannot autodetect formats
when reading from stdin.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/643

-- Commit Summary --

  * fix error for failed format dectection and format in usage example

-- File Changes --

    M options.cpp (2)
    M parse-osmium.cpp (2)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/643.patch
https://github.com/openstreetmap/osm2pgsql/pull/643.diff

-- 
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/pull/643
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20161113/924e76cf/attachment.html>


More information about the Tile-serving mailing list