I am fairly new to OpenStreetMap, so it may be that I am missing something, but I have hit what seems to be a major problem while trying to process the administrative boundary relation for England. My code is reporting 41 ways that are referenced as members of relation 58447, but that do not exist in the england.osm file I downloaded from Geofabrik. This same code has successfully processed the administrative boundaries for other countries. An example of these problem ways is way 10488014. On the relation webpage, way 10488014 is listed as "Way 10488014 as outer". I click on Download XML, and there is no reference to way 10488014. Am I missing something basic? asked 04 Sep '12, 11:00 Dave |
Geofabrik uses a simplifyed boundary polygon for its extracts. Because of this ways that are on the border may or may not be included in the extract. The http://www.openstreetmap.org/api/0.6/relation/58447 url only includes the relation and none of the objects it refers to. There is a referance to way 10488014 there, but that way is not included. If you want all the objects the relation refers to and the ones that those refers to and so on, you might want to try http://www.openstreetmap.org/api/0.6/relation/58447/full (warning, may take a long time to process). answered 04 Sep '12, 11:19 Gnonthgol ♦ Thanks very much Gnonthgol, that full link looks like exactly what I need! Looks like I will need to manually create my own extracts for boundaries by downloading relations for individual countries, and just use the Geofabrik extracts for mapping features of interest onto them.
(04 Sep '12, 11:40)
Dave
|