[mkgmap-dev] Oneway arrows
From Wesley Martins wesleygmartins at gmail.com on Sun Mar 6 01:52:36 GMT 2016
Hi Dave, I use in my nuvi 1490 another img file with only arrows and bridges. I don't know explain why, but with another img file all arrows and bridges are always on top of the way. In styles i have only the line file, and I use one code for each type of way, because I use different colors for each arrow and bridge (the same of the darker color way) highway=motorway & (oneway=yes | oneway=1 | oneway=true) [0x10401 resolution 24] highway=trunk & (oneway=yes | oneway=1 | oneway=true) [0x10402 resolution 24] highway=primary & (oneway=yes | oneway=1 | oneway=true) [0x10403 resolution 24] highway=secondary & (oneway=yes | oneway=1 | oneway=true) [0x10404 resolution 24] highway=tertiary & (oneway=yes | oneway=1 | oneway=true) [0x10405 resolution 24] highway=minor & (oneway=yes | oneway=1 | oneway=true) [0x10406 resolution 24] highway=living_street & (oneway=yes | oneway=1 | oneway=true) [0x10406 resolution 24] highway=residential & (oneway=yes | oneway=1 | oneway=true) [0x10406 resolution 24] highway=service & (oneway=yes | oneway=1 | oneway=true) [0x10407 resolution 24] highway=bridleway & (oneway=yes | oneway=1 | oneway=true) [0x10407 resolution 24] The result is something like that I'm testing different colors and kinds of arrows too. Wesley On Sat, Mar 5, 2016 at 7:01 PM, greg crago <gregcrago at gmail.com> wrote: > Dave, I have done the same thing with 1 way arrows (linetype 0x26 for me) > > I have only done this for SECONDARY, TERTIARY, RESIDENTIAL, and SERVICE > roads. Here is my 'line' code for SECONDARY roads: > > highway=secondary & ( network=e-road | int_ref=* ) [0x04 resolution 19-19 > continue] > highway=secondary & oneway=yes [0x26 resolution 19 continue] > highway=secondary & cycleway=lane [0x00 resolution 19 continue] > highway=secondary & bridge!=yes [0x04 road_class=2 road_speed=3 resolution > 19 continue] > highway=secondary & bridge=yes [0x01 road_class=2 road_speed=3 resolution > 22] > highway=secondary_link & bridge!=yes [0x08 road_class=2 road_speed=1 > resolution 19 continue] > highway=secondary_link & bridge!=yes [0x23 resolution 19 continue] > highway=secondary_link & oneway=yes [0x26 resolution 19 continue] > highway=secondary_link & cycleway=lane [0x00 resolution 19 continue] > highway=secondary_link & bridge=yes [0x01 road_class=2 road_speed=1 > resolution 22] > > I do this for both the road and the *_link, This is 'mid-way' in my code. > You can see I also have overlay for BICYCLE lanes and BRIDGES > It works and looks great. > > Greg > > On Sat, Mar 5, 2016 at 1:28 AM, Dave Swarthout <daveswarthout at gmail.com> > wrote: > >> I would like to see oneway arrows drawn on top of the highway lines the >> way OSMAnd does it. I tried moving my oneway arrow rules to after the other >> highway rules were finished processing but they completely disappeared. The >> lines style rules are below and in my TYP file are defined as blue arrows >> on a transparent background. >> >> >> # display direction arrows on highways >> highway=* & (oneway=yes | oneway=1 | oneway=true) [0x10000 resolution 24 >> continue with_actions] >> highway=* & oneway=-1 [0x10001 resolution 24 continue with_actions] >> >> Thanks, >> Dave >> >> _______________________________________________ >> mkgmap-dev mailing list >> mkgmap-dev at lists.mkgmap.org.uk >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev >> > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160305/63c2de41/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 7795.png Type: image/png Size: 35334 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160305/63c2de41/attachment-0003.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 14616.png Type: image/png Size: 34712 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160305/63c2de41/attachment-0004.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: 10484.png Type: image/png Size: 45902 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160305/63c2de41/attachment-0005.png>
- Previous message: [mkgmap-dev] Oneway arrows
- Next message: [mkgmap-dev] Oneway arrows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list