-
Notifications
You must be signed in to change notification settings - Fork 19
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
Areas marked as buildings #227
Comments
Sorry, nevermind, I realized I was using a 4 months old Docker image. I have to adapt my scripts to the new one to check whether the issue is still there, there's no more run-all.lua` |
I suspect this is still a problem in the latest too. What's the value of the That includes the comment:
My initial hunch is the best approach would be to exclude the |
After #228 it looks like this: |
This is merged into |
What version of PgOSM Flex are you using?
The current one from Docker hub, e4a19009b701
What operating system, osm2pgsql, and PostgreSQL/PostGIS versions are you using?
The included PostGIS 12 + PostGIS 14, but the problem is probably in the Lua scripts
What did you do exactly?
I imported the 2022-02-19 Geofabrik export of Berlin, Germany, then visualized it in QGIS.
Issue description
After importing the file for the city of Berlin, I noticed that the building_polygon table contains a few polygons that are not bulding but rather city areas.
I'm not sure this is not the intended behavior, these are the not buildings but boundaries of postal codes. Not all the postal codes appear as buildings, only 3 of them:
https://www.openstreetmap.org/relation/1405771
https://www.openstreetmap.org/relation/1405640
https://www.openstreetmap.org/relation/1405638
they all have the attribute
boundary=postal_code
andtype=boundary
. The other postal codes end up in theplace_polygon
table, for example these ones:https://www.openstreetmap.org/relation/1397900
https://www.openstreetmap.org/relation/1397881
The only common denominator I can see for the three postal codes above marked as buildings is that they have
addr:city=Berlin
while the ones marked as places do not.The text was updated successfully, but these errors were encountered: