NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

Dave
865510
accept rate: 0%


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).

permanent link

answered 04 Sep '12, 11:19

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×167
×128
×92
×2

question asked: 04 Sep '12, 11:00

question was seen: 3,292 times

last updated: 04 Sep '12, 11:59

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum