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

I have been updating the map of my local area to better use the capabilities of the multipolygon relations and I have run into some apparent rendering bugs. Relation 1441560 is tagged with landuse=residential and type=multipolygon and relation 1444850 is similarly tagged. Both relations are closed and thus, in theory, should show up in the default OSM view and be rendered as a grey background to the map.

However relation 1441560 shows up as grey as expected and relation 1444850 does not show up grey as expected. What might be causing this rendering difference and how should it be fixed?

asked 02 Mar '11, 20:05

David%20Newton's gravatar image

David Newton
15112
accept rate: 0%


I notice relation 1444850 is tagged as landuse=residential, type=landuse. It should be tagged as type=multipolygon (and landuse=residential).

Also, it probably won't affect rendering, but its usually helpful to specify the roles for the members of your relation. I think this should be outer for all of the parts in these examples.

permanent link

answered 02 Mar '11, 23:23

Vclaw's gravatar image

Vclaw
9.2k895141
accept rate: 22%

It definitely needed the relation to be tagged as type=multipolygon for it to render correctly. Doing so caused the grey background of the residential area to appear and also the green of the park background of other relations in the area. It appears the problem with the Guide Dogs site was a mis-spelling of commercial as commmercial.

(09 Mar '11, 18:53) David Newton

Contary to your expectations relation 1444850 does not appear to be closed, and has two segments, the smaller of which is closed. It is always a good idea to check a relation using Relation Analyser, but it is usually possible to resolve relation problems by using JOSM.

Dowload only the relation using the option "Download Object", and use the relation panel (on RHS of screen) to find ways in the relation which do not join as expected. JOSM can automatically sort the members of the relation and this often highlights where the problem lies. Once the precise area is known download all ways in that surrounding bounding box and fix connectivity. Repeat until your relation is as you expect.

In your case you have a) to joined Cross lane to the landuse=residential way to its NE and b) you have a small extra circular way around the Guide Dogs for the Blind building. The latter may be intentional, but you certainly need to join Cross Lane to the other way to complete your relation.

permanent link

answered 02 Mar '11, 20:26

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

Thanks for the help. I see the very small gap that two immensely close together nodes caused. I will deal with that and see what happens with the rendering. The Guide Dogs portion was deliberate, and I will have to see what I might find in the multipolygon I have created of that site's business use.

(02 Mar '11, 22:31) David Newton

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:

×440
×132
×103
×43

question asked: 02 Mar '11, 20:05

question was seen: 5,415 times

last updated: 09 Mar '11, 18:53

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