
Hi, I tried out the overlays file and came across the following problem: Without overlays roundabouts look different from the normal street types because e.g. my highway=secondary (0x04) is yellow but junction=roundabout has to be 0x0c which is white in my typ file. To change that I tried this: Lines file: junction=roundabout & highway=secondary [0x11f02 road_class=2 road_speed=3 level 4] Overlays file: 0x11f02: 0x0c, 0x04 Then I created a test typ file with a very broad pink 0x0c just to see if the two lines are really there. They are, I can see the 0x04 on top of the 0x0c as expected. BUT: The roundabout is never used for routing now. It is treated as if it was a non-routable line. Do I do something wrong or is the routing info not created properly? I've tried other tag combinations with the same result.

I'm not sure but maybe the code 0x11f02 isn't supported? I used to do the same with roundabouts but I named it 0x0c04, in my overlays file: 0x0c04: 0x0c, 0x04 This was routing fine.

Ralf Kleineisel schrieb am 08.03.2011 18:09:
Lines file: junction=roundabout & highway=secondary [0x11f02 road_class=2 road_speed=3 level 4]
Overlays file: 0x11f02: 0x0c, 0x04
Then I created a test typ file with a very broad pink 0x0c just to see if the two lines are really there. They are, I can see the 0x04 on top of the 0x0c as expected.
BUT: The roundabout is never used for routing now. It is treated as if it was a non-routable line. Do I do something wrong or is the routing info not created properly?
If I remember correctly, the overlay file does not guarantee, which line is displayed on top. So if not one of the lines is transparent, the display of such a structure will vary. If you are using a transparent code for the roundabout, you could also add a second non-routable line for the display, without using the overlays file, e.g.: Lines file: junction=roundabout & highway=secondary [0x0c road_class=2 road_speed=3 level 4 continue] junction=roundabout & highway=secondary [0x04 level 4] Gruss Torsten

Torsten Leistikow (de_muur@gmx.de) wrote:
Ralf Kleineisel schrieb am 08.03.2011 18:09:
Lines file: junction=roundabout & highway=secondary [0x11f02 road_class=2 road_speed=3 level 4]
Overlays file: 0x11f02: 0x0c, 0x04
Then I created a test typ file with a very broad pink 0x0c just to see if the two lines are really there. They are, I can see the 0x04 on top of the 0x0c as expected.
BUT: The roundabout is never used for routing now. It is treated as if it was a non-routable line. Do I do something wrong or is the routing info not created properly?
If I remember correctly, the overlay file does not guarantee, which line is displayed on top. So if not one of the lines is transparent, the display of such a structure will vary.
If you are using a transparent code for the roundabout, you could also add a second non-routable line for the display, without using the overlays file, e.g.:
Lines file: junction=roundabout & highway=secondary [0x0c road_class=2 road_speed=3 level 4 continue] junction=roundabout & highway=secondary [0x04 level 4]
Gruss Torsten
This is what I do - I've got rid of the overlays file completely now that I understand how continue works. The only thing to bear in mind: - When my GPS flicks up a navigation prompt (e.g. turn left in 300 metres) it shows the routeable line (0x0c), not the other line (0x04). So if 0x0c is invisible, then the navigation prompt doesn't look too good. Other GPS may behave differently.

On 03/08/2011 06:29 PM, Torsten Leistikow wrote:
If I remember correctly, the overlay file does not guarantee, which line is displayed on top. So if not one of the lines is transparent, the display of such a structure will vary.
The display is not a problem at all, it's the routing that's broken.
If you are using a transparent code for the roundabout, you could also add a second non-routable line for the display, without using the overlays file, e.g.:
Lines file: junction=roundabout & highway=secondary [0x0c road_class=2 road_speed=3 level 4 continue] junction=roundabout & highway=secondary [0x04 level 4]
I'll try to do it with "continue". Thanks to all others who responded, too.

Forget the overlay crap and use continue (makes no sense to have two routable lines with the same road_class/road_speed anyhow). On 08.03.2011 18:09, Ralf Kleineisel wrote:
Hi,
I tried out the overlays file and came across the following problem:
Without overlays roundabouts look different from the normal street types because e.g. my highway=secondary (0x04) is yellow but junction=roundabout has to be 0x0c which is white in my typ file.
To change that I tried this:
Lines file: junction=roundabout& highway=secondary [0x11f02 road_class=2 road_speed=3 level 4]
Overlays file: 0x11f02: 0x0c, 0x04
Then I created a test typ file with a very broad pink 0x0c just to see if the two lines are really there. They are, I can see the 0x04 on top of the 0x0c as expected.
BUT: The roundabout is never used for routing now. It is treated as if it was a non-routable line. Do I do something wrong or is the routing info not created properly?
I've tried other tag combinations with the same result.
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (5)
-
charlieï¼ cferrero.net
-
Felix Hartmann
-
Minko
-
Ralf Kleineisel
-
Torsten Leistikow