[Tile-serving] [openstreetmap/osm2pgsql] Output warnings in Latitude/Longtitude, not WebMercator (#838)

Frederik Ramm notifications at github.com
Fri Jan 4 09:41:17 UTC 2019


> That would change the database and thus is no option. The suggestion from kennykb sounds sane to me. I assume it also has other benefits when osm2pgsql knows what errors/warnings are issued.

*Errors* are returned to the calling code even without using the PQNoticeReceiver functionality, which is for notices and warnings only. AFAICS PQNoticeReceiver offers no elegant mechanism to access the coordinates in the text message; one would have to parse the error messages with regular expressions to guess if they contain coordinates. This is feasible but not trivial, and at risk of breaking any time PostGIS changes its error message 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/issues/838#issuecomment-451397258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190104/8cae7158/attachment-0001.html>


More information about the Tile-serving mailing list