
Hi everyone I've a problem with ways with long segments (e.g. boarders or ferry-lines) and splitter. These ways gets broken, because the nodes are to far away from splitoffset. I've made a screenshot [1] for explanation. Increasing the splitter-offset wont be a good idea, because tiles will become to big. Also I wont add additional nodes in osm-data, because this only will solve the problem only for one map. Are there any other opportunities for fixing this problem and keep routing on ferry-lines alife? Henning [1] http://www.aighes.de/data/example.png

Henning, Did you try a higher overlap setting? Maybe --overlap=6000 ? --overlap Nodes/ways/rels that fall outside an area will still be included if they are within this many map units. Default is 2000

Am 07.02.2011 23:45, schrieb Minko:
Henning, Did you try a higher overlap setting? Maybe --overlap=6000 ?
--overlap Nodes/ways/rels that fall outside an area will still be included if they are within this many map units. Default is 2000 Sorry for late answer, but I tried this already. In some cases it works. But ferries at north sea or baltic sea (eg. Rostock-Helsinki) or other "ocean"-ferries (Norway-GB) have waysegments with length of more than 100km. These lines gets broken an I think its impossible to increase tiles so much.
One solution would be, that splitter detect long segments and add two nodes next to the boarder of the tiles. But I don't know, if this is an easy think to detect these long segments. Henning

On Wed, Feb 9, 2011 at 5:15 AM, Henning Scholland <osm@aighes.de> wrote:
Am 07.02.2011 23:45, schrieb Minko:
Henning, Did you try a higher overlap setting? Maybe --overlap=6000 ?
--overlap Nodes/ways/rels that fall outside an area will still be included if they are within this many map units. Default is 2000 Sorry for late answer, but I tried this already. In some cases it works. But ferries at north sea or baltic sea (eg. Rostock-Helsinki) or other "ocean"-ferries (Norway-GB) have waysegments with length of more than 100km. These lines gets broken an I think its impossible to increase tiles so much.
The best workaround is to break these ways up into segments that are smaller. It is possible for the splitter to go back and when it finds that it missed a node in a way, to go back and re-fetch it. However, this requires an extra pass, more memory, and will generate files that aren't ordered nodes-ways-relations (and may need to be re-sorted?). Scott

Henning, your splitter change request sounds good. Anyhow I don't know anyone who has time to implement this at the moment. Writing into PBF format is also a pending thing which would very good. So, if there is anyone on the list who is willing to implement things in splitter and/or mkgmap, this is a good thing to start with. You are welcome! WanMil
Hi everyone
I've a problem with ways with long segments (e.g. boarders or ferry-lines) and splitter. These ways gets broken, because the nodes are to far away from splitoffset. I've made a screenshot [1] for explanation. Increasing the splitter-offset wont be a good idea, because tiles will become to big. Also I wont add additional nodes in osm-data, because this only will solve the problem only for one map.
Are there any other opportunities for fixing this problem and keep routing on ferry-lines alife?
Henning
[1] http://www.aighes.de/data/example.png
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (4)
-
Henning Scholland
-
Minko
-
Scott Crosby
-
WanMil