new render style (and routing) for enduro bike

Skip to first unread message

cricri du lauragais

Jul 2, 2020, 10:58:03 AM7/2/20
to OsmAnd


I created a render style for a utilization in the tracks and paths with a motorcycle (or a car).


the tracks are classified by "carrossability" in 2 categories:

- brown tracks = easy

- green tracks = unknown or difficult with a big bike

they are subdivided into continuous line and dotted line in each color according to tag tracktype, surface, smoothness, mtb:scale.


the paths are in thin dotted black with 4 levels of difficulty for light motorcycles like enduro:

- green dot = easy

- orange dot = technique

- red dot = difficult (push the bike)

- black dot = impossible with a motorcycle

these levels are extrapolated from mtb tags and sac_scale


all hiking routes are displayed according to the French usage (red/white for iwn and nwn networks, red/orange for rwn, yellow for lwn),

mtb routes are in blue.

Roads use French color like IGN maps

minimum text for better visibility


The style menu is simplified, you can hide all the hiking/mtb_route in one go.

I also added options in the style menus for use with a large screen emulator

another to use with a background map like Microsoft Earth.

comments in the xml file are in French (sorry)


I created this style to use in enduro motorcycle and also with my other bikes.

I use it with 3 routings in 3 profiles :

- one for big bike that only takes the easy brown tracks (and roads of course J )

- one for midrange motorcycle that takes the brown and green tracks

- the latest for light enduro bikes that also take single-track paths


the 3 routings comply with motorized, private and other prohibitions.

each of the routings has its preferences and penalties depending on the difficulty of the paths.


I hope you enjoy all this and you will have fun using them :)

some screenshots





Jul 2, 2020, 1:49:47 PM7/2/20
to OsmAnd
Interesting rendering, cricri,

can you please give some hints, how to work with your 4 files?

Where to copy the files in OsmAnd sub-directory: 
1. The rendering-file ==> (probably sub-dir: rendering)
2. The routing files  ==> (????)

And how to select rendering and routing detail:
1. Rendering   ==> (probably Menu: Map style)
2. Routing   ==> (?????)



Jul 2, 2020, 2:29:15 PM7/2/20
Yes, put enduro.render.xml into /OSMand/rendering
and 3 others xml files into
When you reload osmand the news choices are added and you can select this for use.
The 3 routing modes are added at the end of the list of standards modes.
Sorry for my bad english ;)

You received this message because you are subscribed to the Google Groups "OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

cricri du lauragais

Jul 3, 2020, 3:01:16 AM7/3/20
to OsmAnd
after putting the files in their folders
"enduro" style is available in
"configure map"
"map rendering"
Press 'map style'
and choose "enduro" from the list
then do "apply"
and go back to the display

In the menu "Details" of style there are 3 choices:


- "epaisseur route" = contour of thinner roads at distant zoom levels, try it
- "epaisseur bluestacks" = all lines are thinner in uns than the level 15 zoom, the display is better on the big screen of the computer.
- "Fewer details" = only displays brown paths and roads.

in the "hide" style menu there are 3 new choices at the top of the list, the others are usual:


- "cacher balisages" = hide hiking and mountain biking routes
- "cacher chemins sans info" = hide the clear green dotted lines that are on the paths without information in OSM (good to check the way but a little flashy)
- "en cas de carte arrière plan" = check it if you use Microsoft earth in the background, the paths and the texts read better, try it :)

To choose a particular routing, you need to:
"configure profile"
"Navigation settings"
"Type navigation"
and thread the list to the end


and choose one of the 3 "trail"
- enduro.xml for enduro motorcycle
- gros_trail.xml for large heavy motorcycle or SUV
- petit_trail.xml for dual sport motorcycle (trail bike)

then my profiles are set like this:
- avoid motorways and toll


- prefer unpaved roads


- faster road unselected 

example of route calculation for large motorcycle or SUV (only brown roads)




Jul 6, 2020, 11:54:50 AM7/6/20
to OsmAnd
Many thanks for detailling.


cricri du lauragais

Jul 6, 2020, 1:21:40 PM7/6/20
to OsmAnd
for the 3 routing profiles
create the first for big bike or SUV from "car" and apply the routing
for others like enduro or light bike, create new profile from "walking" and apply the routing


cricri du lauragais

Jul 6, 2020, 1:59:21 PM7/6/20
to OsmAnd
new routing files
enduro and light bike only name change when you see it in list (enduro / enduro vs trail / enduro)
new file for big bike > like osmand car with "prefer unpaved" but with better choice of tracks ;)
Reply all
Reply to author
0 new messages