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

Switch to pulling way_area from tags hstore instead of assuming it to be a column #2034

Open
iandees opened this issue Dec 10, 2021 · 0 comments

Comments

@iandees
Copy link
Member

iandees commented Dec 10, 2021

While running through the vector-datsource import process for #2001 earlier this week, I ran into a problem where the way_area column was missing:

DataFetchException: column "way_area" does not exist
LINE 104:     way_area,
              ^

Talking to Jochen at osm2pgsql (osm2pgsql-dev/osm2pgsql#1589), it sounds like this was a regression/change in how the way_area special tag is handled around osm2pgsql 1.3.

Since the previous behavior was to add way_area to both the "tags" hstore column and as a distinct column, we should change vector-datasource to pull it from the tags hstore so it's compatible with newer and older osm2pgsql versions.

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

No branches or pull requests

1 participant