[Tile-serving] [openstreetmap/osm2pgsql] Check for negative object ids in input files and output a warning (#1251)
Jochen Topf
notifications at github.com
Thu Jul 16 07:29:37 UTC 2020
@joto commented on this pull request.
> @@ -9,8 +9,23 @@ input_handler_t::input_handler_t(osmium::Box const &bbox, bool append,
: m_data(osmdata), m_bbox(bbox), m_append(append)
{}
+void input_handler_t::negative_id_warning()
+{
+ fmt::print(stderr,
+ "\nWARNING: The input file contains at least one object with "
+ "a negative id.\n Negative ids are not properly "
+ "supported in osm2pgsql (and never\n were). They will "
+ "not work in future versions at all. You can use\n"
+ " the osmium tool to 'renumber' your file.\n\n");
I have forced pushed a new version with better formatting.
--
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/1251#discussion_r455567051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200716/d9f92ff1/attachment-0001.htm>
More information about the Tile-serving
mailing list