Swap OSM tags when retrieving city boundary#110
Conversation
|
It turns out the size of the boundary/administrative query is quite large (see #177) - do we still want to invert the order? |
To be honest, I do not remember why we used |
|
Sounds good to only keep My point is that we could have osmdata <- get_osmdata(..., city_boundary = FALSE, ...) |
|
@fnattino, I updated |
…p into 83-city-boundary-cf
…p into 83-city-boundary-cf
…p into 83-city-boundary-cf
…p into 83-city-boundary-cf
…p into 83-city-boundary-cf
What type of PR is this? (check all applicable)
Description
With this PR,
get_osm_city_boundaryfirst tries to get the data first with the tagboundary:administrativeand thenplace:city. Most city boundaries are recorded (correctly) with the former, so it makes sense to begin with that one. Previously it was the other way around and would return wrong boundaries, like in the case of Bratislava.Related Issues
Added/updated tests?
We encourage you to keep the code coverage percentage at 75% and above.
have not been included
Added entry in changelog?
For user-facing changes, add a line describing the changes in NEWS.md