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

Errors at edge of AOI #79

Open
smit1678 opened this issue May 19, 2018 · 7 comments
Open

Errors at edge of AOI #79

smit1678 opened this issue May 19, 2018 · 7 comments

Comments

@smit1678
Copy link
Collaborator

At the edge of an AOI, some OSM data is not being shown in the OSM edit recency layer. These areas are also shown as poor in the completeness layer (unclear if they are related). Also unclear if these issues are coming from OSM QA tiles (I haven't investigated that yet).

openstreetmap analytics for health 2018-05-19 16-54-54

cc @geohacker @kamicut

@geohacker
Copy link
Collaborator

@smit1678 yes these would be tiles that are skipped because they are outside the bbox, we probably need to add a buffer but that would mean we might overestimate by a small margin.

@smit1678
Copy link
Collaborator Author

smit1678 commented May 21, 2018 via email

@geohacker
Copy link
Collaborator

geohacker commented May 21, 2018 via email

@smit1678
Copy link
Collaborator Author

@geohacker Ok, this might be a significant issue because it's related to #80. In an area like northern Botswana where we're including southern Zambia into this (where there is also a lot of OSM coverage), numbers are way off.

@geohacker
Copy link
Collaborator

Agree that we may end up overestimating or underestimating. One way I can think of is using a buffer for the bbox in tile-reduce and then using the GeoJSON boundary during the analysis to throw out features that don't fall within.

@geohacker
Copy link
Collaborator

Oh actually, the above solution won't work in this case because we extract all buildings from a given OSM QA Tiles of a country, see here and here

This looks like a bigger QA tiles problem to me @smit1678.

@geohacker
Copy link
Collaborator

I got started on switching to planet QA tiles but that does cause huge over estimation. The only way to fix it would be:

  1. using planet qa tiles
  2. checking each building if it falls within the boundary of the country before the analysis

The work in progress PR is here but this is not very straightforward and will need a lot more time. Using the boundary inside osmlint will make the process slower by a huge margin.

The alternative approach would be stream all the buildings from osmlint through a script that checks for containment/membership and streams out the ones that are positive and then use that for analysis - this is doable, but not immediately.

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

2 participants