[Tile-serving] [osm2pgsql] Fix incorrect resizing of node cache in geometry processor (#322)

Paul Norman notifications at github.com
Wed Apr 1 18:59:32 UTC 2015


This is the quick fix to #274, but includes a testcase.

With the testcase, fixing it properly would make a reasonable place for someone to start with osm2pgsql.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add a testcase to check that node storage in multi-backend lines
  * Always resize the node_cache in geometry-processor

-- File Changes --

    M .gitignore (1)
    M Makefile.am (4)
    M geometry-processor.cpp (8)
    A tests/test-output-multi-line-storage.cpp (110)
    A tests/test_output_multi_line_storage.osm (35)
    A tests/test_output_multi_line_trivial.lua (10)
    A tests/test_output_multi_line_trivial.style.json (14)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150401/0dd63779/attachment.html>


More information about the Tile-serving mailing list