Skip to content

Conversation

@pnorman
Copy link

@pnorman pnorman commented Sep 15, 2014

I did it as two commits because the first one was more complex

cc @zerebubuth @hollinger

lonvia and others added 22 commits May 18, 2014 19:40
Fixes typos in the README
After osm2pgsql-dev@d1b6c5e#diff-a4a10b448709d2cc5dc0c85fb36a2b1c
the RAM cache size can be zero, but ``am_cache_nodes_set_sparse`` often accesses ``sparseBlock[0]``. It gives serious memory access erros and failures during testing (detected with Intel Inspector XE when fixing Windows builds osm2pgsql-dev#17 ).

I am not sure the proposed fix is the best solution, but something should be done with this error.
When more than one geometry column exists in a table, the sanity check
was failing when running osm2pgsql in append mode. This constrains the
number of rows and srid check to the way column specifically.
Based on an unpublished blog post I never finished off
osm2pgsql can be part of a useful toolchain for generating shapefiles,
but little is documented about this, so this adds a basic paragraph.
osm2pgsql has a *lot* of command-line options
…ry-check

constrain geometry check to way column
also fixes a tiny memory leak with landuses
build_geometry was renamed to geometry-builder

Conflicts:
	build_geometry.cpp
	build_geometry.h
	output-gazetteer.cpp
Conflicts:
	README
	output-gazetteer.cpp
	output-pgsql.c
@zerebubuth
Copy link

I've tested this and, with the regression fix from openstreetmap #181, all the tests pass. Otherwise, it's a pretty big merge, but looks OK to me. :shipit:

pnorman added a commit that referenced this pull request Sep 16, 2014
@pnorman pnorman merged commit 79680bd into kk_threadpend Sep 16, 2014
@pnorman pnorman deleted the cpp_merge branch September 30, 2014 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants