Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix problem in slim mode with two-state processing of nodes #2300

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

joto
Copy link
Collaborator

@joto joto commented Jan 28, 2025

In two-stage processing when getting nodes from the middle we are running the same SQL query as when getting the node locations. But that doesn't work. We need more information, the tags (and possibly the attributes). This fixes this by running a different prepared query in this case.

Fixes #2298

In two-stage processing when getting nodes from the middle we are
running the same SQL query as when getting the node locations. But that
doesn't work. We need more information, the tags (and possibly the
attributes). This fixes this by running a different prepared query in
this case.

Fixes osm2pgsql-dev#2298
@lonvia lonvia merged commit b0a8bc6 into osm2pgsql-dev:master Jan 31, 2025
25 checks passed
@joto joto deleted the fix-get-node branch February 17, 2025 10:07
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.

Example "public-transport.lua" fails with error: ERROR: Database format for tags invalid.
2 participants