
I have committed a first version of a flood blocker to the coast branch. The blocker is quite simple and works only for multipolygon sea generation. At the moment it removes sea polygons that contains one or more highways. Please give it a try and let me know about your experiences. (Don't expect too much :-) Have fun! WanMil

What about sub-sea tunnels or bridges over sea like Öresundbridge? So maybe it's better to exclude highways with bridge=yes or tunnel=yes. aighes -- View this message in context: http://gis.638310.n2.nabble.com/Flood-blocker-tp5759051p5759058.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

What about sub-sea tunnels or bridges over sea like Öresundbridge?
So maybe it's better to exclude highways with bridge=yes or tunnel=yes.
aighes
You are right. Bridges and tunnels are already excluded. So that should be no problem.
WanMil
Mmmh, within the next days we have to think about tuning the rules. At the moment the blocker will block too much. Example: http://www.openstreetmap.org/browse/way/24442589 is tagged with highway=track but crosses the sea. And I think its tagging is quite ok. WanMil

On 11/20/2010 05:50 PM, WanMil wrote:
What about sub-sea tunnels or bridges over sea like Öresundbridge?
So maybe it's better to exclude highways with bridge=yes or tunnel=yes.
aighes You are right. Bridges and tunnels are already excluded. So that should be no problem.
WanMil Mmmh, within the next days we have to think about tuning the rules. At the moment the blocker will block too much.
Example: http://www.openstreetmap.org/browse/way/24442589 is tagged with highway=track but crosses the sea. And I think its tagging is quite ok.
WanMil _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev You're probably going to have this one too: http://www.openstreetmap.org/?lat=46.9289&lon=-2.1362&zoom=14&layers=M
Maybe exclude if there are a certain number (to determine) of highways

On 21.11.2010 04:47, Nakor wrote:
On 11/20/2010 05:50 PM, WanMil wrote:
What about sub-sea tunnels or bridges over sea like Öresundbridge?
So maybe it's better to exclude highways with bridge=yes or tunnel=yes.
aighes You are right. Bridges and tunnels are already excluded. So that should be no problem.
WanMil Mmmh, within the next days we have to think about tuning the rules. At the moment the blocker will block too much. I also think, the best approach is to first look at the size of the sea. Then divide the size of the sea against a rating based on a score of attribute to each highway that falls into the sea based on a rating. (e.g. 0 for any highway or railway with brigde=* or tunnel=*, residential0=.5 , primary/secondary=0.3, highway=* & (sac_scale=* | mtb:scale=*) ==1,...) ===score X. Once this division reaches a certain factor, assume the sea is wrong. and drop it. Additionally or alternatively look at how much area (percentage) of say forest falls into the sea. If too much forest inside the sea, then bang, drop the sea. I'm not sure what is quicker to calculate. Areas like forest or certain highways (number).

On Sat, Nov 20, 2010 at 11:50:25PM +0100, WanMil wrote:
Mmmh, within the next days we have to think about tuning the rules. At the moment the blocker will block too much.
Example: http://www.openstreetmap.org/browse/way/24442589 is tagged with highway=track but crosses the sea. And I think its tagging is quite ok.
Another example: ice roads. I don't know if any have been mapped on the Baltic Sea, but several do exist across lakes in Finland. I would assume that there are a few ice roads covering short distances between the mainland and small islands. I think that you should make the flood-blocking a suboption of generate-sea. Marko

On 11/21/2010 10:22 AM, Marko Mäkelä wrote:
Another example: ice roads. I don't know if any have been mapped on the Baltic Sea, but several do exist across lakes in Finland. I would assume that there are a few ice roads covering short distances between the mainland and small islands.
Perhaps using cities or highways + cities would be better?

How about highways on dikes or dams? http://www.openstreetmap.org/?lat=51.66033&lon=3.72579&zoom=16&layers=M

There will always be a problem that the flood blocker removes too much of the sea area. Regarding you example: I think the road must be tagged with bridge=yes. Have a look on the wikipedia photos and decide yourself: http://en.wikipedia.org/wiki/File:Deltawerke-Oosterschelde-Sturmflutwehr_Oos... http://en.wikipedia.org/wiki/File:Pont_de_Zeelande.JPG But in general the flood blocking logic must be more gentle to some mapping oddities. I think Felix has made a good proposal. Any other ideas?
How about highways on dikes or dams? http://www.openstreetmap.org/?lat=51.66033&lon=3.72579&zoom=16&layers=M _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (7)
-
aighes
-
Felix Hartmann
-
Marko Mäkelä
-
Minko
-
Nakor
-
Ralf Kleineisel
-
WanMil