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

new openstreetmap plugin on qgis master fails to import all polygons #16880

Closed
qgib opened this issue Jun 10, 2013 · 4 comments
Closed

new openstreetmap plugin on qgis master fails to import all polygons #16880

qgib opened this issue Jun 10, 2013 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Jun 10, 2013

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 8037
Affected QGIS version: master

Assignee: Martin Dobias


Basically, if an area way(e.g. amenity=place_of_worship, amenity=school, etc.) has an extra barrier=fence tag onto it, the openstreetmap plugin fails to import that way into a polygon. This got me scratching my head for a little while as to why a few school grounds were not imported.

I'm attaching a .osm that shows both area ways with amenity=place_of_worship with and without the barrier=fence to test out.


@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2013

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Note: it's also happening on barrier=wall.

OpenStreetMap wiki mentions that barrier={fence,wall} can be applied to areas: http://wiki.openstreetmap.org/wiki/Tag:barrier%3Dfence

@qgib
Copy link
Contributor Author

qgib commented Jun 11, 2013

Author Name: Giovanni Manghi (@gioman)


  • assigned_to_id was configured as Martin Dobias

@qgib
Copy link
Contributor Author

qgib commented Jul 17, 2014

Author Name: Andre Joost (Andre Joost)


With your test case, you are confusing the importer: amenity=school can be an area (or a point), but barrier=fence is more likely a line. To avoid such pitfalls, you can add area=yes to your object.

Or use Add Vector Layer. The GDAL OSM driver seems to handle your case correctly.

@qgib
Copy link
Contributor Author

qgib commented Jun 13, 2015

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


Fixed in master build.


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant