Using JOSM I have just added a high school having two open atria, areas that have no roof and are surrounded by building. I used a multi-polygon with role "outer" to describe the outer building and two multi-polygons with roles "inner" to describe the enclosed open areas.

When I upload the data to OSM I get assorted warnings about the multipolygons. It is relation id 2871705. Can anyone help explain what's going on?

asked 10 Apr '13, 21:59

AlaskaDave's gravatar image

AlaskaDave
4.0k7093142
accept rate: 12%

edited 11 Apr '13, 09:48

gormo's gravatar image

gormo
2.9k32660


I'm not sure what warnings you are getting, but you might want to move all the tags from the outer way to the relation. Think of the relation as describing the area you are mapping, so have the tags for what you are mapping on the relation. Think of the members of the relation with roles outer as describing the extent of the area and those with roles inner as describing any holes - those members don't need their own tags.

permanent link

answered 11 Apr '13, 01:29

EdLoach's gravatar image

EdLoach ♦
18.1k14148263
accept rate: 23%

The main problem seems to be you have added an extra multipolygon relation in the same changeset, see relation 2871704

This only has a single inner member, so it doesn't make much sense, which is why JOSM has a warning. The other multipolygon (2871705) seems to be fine. So just delete relation 2871704, and it should fix the problem.

permanent link

answered 11 Apr '13, 01:36

Vclaw's gravatar image

Vclaw
9.1k891140
accept rate: 22%

I could see the "extra" relation in Potlatch2 easily but in JOSM it's obscured to the point that it's practically invisible, at least to me. How it got there I'll never know. I fiddled with the 3 multi-polygons in JOSM for 15 minutes, eventually completely redoing everything with no luck. Then I undid everything to return to initial conditions.

Finally, somehow, I did manage to delete 2871704 and after telling JOSM to Ignore the obviously incorrect error messages (empty relation, etc.) referring to 2871704 after it was deleted, the upload proceeded okay. I rearranged the members of the High School polygon so the "children" or inner polygons were below the "parent" or outer polygon. Maybe that did the trick, who knows?

No disrespect to the developers who are IMO pretty fantastic, but I must say the relation editor is one of the most difficult and opaque extensions I've ever used. Also, there seems to be no way to copy the error messages from the Validation window to include with my message.

It want to be able to use JOSM for my OSM work even though its difficult to learn but the sort of things that happened today are very frustrating.

Thanks for the help.

(11 Apr '13, 04:10) AlaskaDave
1

In JOSM, its probably easiest to switch on the Relations panel (Alt+Shift+R). That should list all of the relations in the area, and you can delete it from there.

Also, for the validation window, you can right-click on one of the warnings, and choose "Zoom to problem", then it should highlight the objects with the problem.

(11 Apr '13, 12:34) Vclaw
1

Vclaw - I was using the Relations Editor (see my complaint above) and I know about the Zoom to Error feature but how would one copy the actual text of the arcane error messages to for inclusion in a plea for help?

(11 Apr '13, 14:34) AlaskaDave

Hello, in JOSM I use the Create Multipolygon plugin. It even supports deep nesting, that's holes in holes in holes in holes, (if needed). There's not yet a help file in JOSM for the multipolygon plugin. What you do is construct all your areas, in this case the school and the two holes, tag them as you see fit, or leave the inners as untagged. Select/highlight all the areas to be included in the multipolygon, click Create Multipolygon, tags are correctly placed. When there are nested areas the inners and outers sometimes get mixed up so you have to open the relation editor rearrange/rename the inner and outer areas as necessary. I've found this method greatly reduces the number of problems I get when making multipolygons. Regards

permanent link

answered 11 Apr '13, 08:16

BCNorwich's gravatar image

BCNorwich
3.1k32547
accept rate: 23%

edited 11 Apr '13, 08:18

I'll try the Create Multipolygon extension. I did manage to map another school having two holes with the Relation Editor but this time I did it step by step, adding each inner polygon after creating the outer one and then putting the inners below the containing outer. I'm good for now - thanks again.

(11 Apr '13, 15:17) AlaskaDave
Your answer
toggle preview

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:

×521
×190
×108
×1

question asked: 10 Apr '13, 21:59

question was seen: 2,358 times

last updated: 11 Apr '13, 15:17

powered by OSQA