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

Last night I tried to get advanced by creating a series of relationships to better define a coastline and some corresponding tidal flats/mangroves and now none of it is rendering in the Mapnik. The area is here: http://www.openstreetmap.org/#map=15/-21.1465/-175.1545

I started by making a relation between the mainland and the nearby islet since they are locally regarded as one in the same, being separated only by the tidal mudflats. After this, I tried to replicate some tagging/relationships I had seen in Australia where one boundary of the mangroves is defined by the coastline way and the other by a wetland way. Somewhere along the way, this hasn't worked out properly and I'm not sure the right way to fix it and get the result I was looking for.

If someone can have a look at this for me and point out where I went wrong and how I can fix it I would be very happy.

Malo

asked 15 Nov '14, 05:18

Loau's gravatar image

Loau
11112
accept rate: 0%


I have made an attempt at fixing the errors by reviewing the data and introducing a number of multipolygons, and removing some spurious multipolygon relations with JOSM validation errors (e.g. unclosed). I hope I did this correct, but it may take some while before the new rendering shows up and it can be verified. There were still a lot of JOSM validation errors for features on the Tonga island, a few of which I have fixed, but no errors for the coastline if I am right.

For the type of edits you attempt to do, you really need JOSM and its build in validator. In addition, if you want to "re-use" a coastline as part of a wetland, you will need to split the coastline where the wetland polygon outline touches the coastline (use the "P" letter shortcut for this, you need to select the two nodes first at both ends of the "wetland" outline where it touches the coastline, then hit "P" on your keyboard). You can then define multipolygons for BOTH the coastline AND the wetland, both of which should incorporate the single split line of the coastline.

After defining the multipolygon relations and adding the line elements to it, it is good practice to remove the tags from the outer ways, and only add them to the multipolygon. So the multipolygon should have the "natural=wetland", "wetland=tidalflat" tags, not the outer ways.

permanent link

answered 15 Nov '14, 09:06

mboeringa's gravatar image

mboeringa
1.5k21527
accept rate: 9%

edited 15 Nov '14, 13:43

2

A quick reminder that coastline changes don't take effect as quickly as other ones. I believe they now update daily. You can check the land polygon dates at http://tile.openstreetmap.org/cgi-bin/debug to see how recently they were updated (not sure how long before the time shown the files are generated though).

(15 Nov '14, 09:51) EdLoach ♦

@EdLoach: from there I know that it took from 11 Nov, 12:29 to about 15 Nov 13:45 to show a coastline change (on tiles zoom level 13+ – smaller is not updated yet).

(16 Nov '14, 00:39) aseerel4c26 ♦

Thanks for the help. It might be time to upgrade to the more powerful editor in JOSM. The simplicity of iD got me into it in the first place. According the the link @EdLoach it looks like coastlines haven't been rendered since Friday sometime, I'm still waiting for the island to return to the mapnik, but will advise when if it doesn't return. I must have made the changes right before render time since it disappeared pretty soon after.

Thanks again.

Malo.

(16 Nov '14, 03:43) Loau

Hi @mboeringa

I see your extra work to get the tags right and the coastline rendering, thanks very much. It was rendering properly at some of the larger zoom levels, I guess it's a matter of time before the others render properly now too.

Is it possible that coastlines made up of relations take significantly longer to render than those that are made up of just a closed way?

Malo.

(24 Nov '14, 05:43) Loau
1

Malo,

Actually, I was starting to doubt my own work. At first, after my edits, I actually saw the remainders of the tiles showing the island disappearing... Only now, 8(!) days after edits, seem new tiles to come up at zoomlevels 13 and 14, like you also noted. So yes, I think we still need to wait longer for proper rendering. You may be right the coastlines based on relationships taking longer, but I am not sure, it may be just a cause of the general backlog in rendering.

Marco

(24 Nov '14, 20:51) mboeringa

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:

×67
×5
×2
×1

question asked: 15 Nov '14, 05:18

question was seen: 3,716 times

last updated: 24 Nov '14, 20:55

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