[Tile-serving] [openstreetmap/osm2pgsql] Handle non-normal floating point numbers in JSON writer (PR #1845)
Jochen Topf
notifications at github.com
Fri Dec 2 08:17:40 UTC 2022
JSON doesn't allow pseudo-numbers such as NaN and Inf. They are written out as "null" instead.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1845
-- Commit Summary --
* Handle non-normal floating point numbers in JSON writer
-- File Changes --
M src/json-writer.hpp (6)
M tests/test-json-writer.cpp (14)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1845.patch
https://github.com/openstreetmap/osm2pgsql/pull/1845.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1845
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1845 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221202/af4c713d/attachment-0001.htm>
More information about the Tile-serving
mailing list