[Tile-serving] [openstreetmap/osm2pgsql] Finish wkb properly (#759)

Sarah Hoffmann notifications at github.com
Thu May 25 12:23:43 UTC 2017


Calling the finish functions clears the internal
buffer of the WKB factory, so always call them even
if the geometry is not used afterwards.

Found while using planet updates on an extract import.

Also removes some unused functions from wkb factory.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * make sure wkb_*_finish functions are always called
  * wkb factory: remove unused functions

-- File Changes --

    M osmium-builder.cpp (7)
    M wkb.hpp (10)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/759.patch
https://github.com/openstreetmap/osm2pgsql/pull/759.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/759
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170525/524873ee/attachment.html>


More information about the Tile-serving mailing list