The solid purple route line creates problems.

2,345 views
Skip to first unread message

P Wat

unread,
Dec 20, 2014, 7:42:33 PM12/20/14
to osm...@googlegroups.com
Question/Suggestion -
Does the route line have to be continuous solid purple?  It obscures the road.
I've recently suffered several instances of significantly unsuitable routes.
The continuous purple line prevents advance reading of the type of road on the map, eg primary, secondary, footpath, etc.
If it was possible to see the nature of the road, one could make an informed decision whether to go on a more appropriate "road".
Do you not think that the black arrows are sufficient route indication without needing the solid line?
The space between the arrows would allow more useful advance "reading" of the anticipated conditions.

Aceman444

unread,
Dec 20, 2014, 8:00:50 PM12/20/14
to osm...@googlegroups.com
I'd actually the purple line is not enough contrasting to other types of roads so it is not clearly seen where the route goes. So I also vote for doing something with the purple line to make it more readable.

Dňa nedeľa, 21. decembra 2014 1:42:33 UTC+1 P Wat napísal(-a):

Jan van Bekkum

unread,
Dec 29, 2014, 4:04:34 PM12/29/14
to osm...@googlegroups.com
Hi,

I created attached render file. It shows the completed track as a thin line and the route as a dotted line; I chose red as coclor, because it is not used by roads. For some reason I can't get the the route to become smaller, but at least the road remains visible.
GPXR08.render.xml

P Wat

unread,
Dec 29, 2014, 7:24:09 PM12/29/14
to osm...@googlegroups.com
Hi Jan v B
Your "thin" and "dotted" line idea looks as if it may have potential, thank you.  I'd be pleased to try it if I knew how!
What does one do with the file "GPXR08.render.xml" to make it function within OsmAnd on Android?
Thanks in anticipation,
PW

Jan van Bekkum

unread,
Dec 30, 2014, 2:31:42 AM12/30/14
to osm...@googlegroups.com
Sorry for not explaining:
  • Create a folder "rendering" in the general osmand folder if it doesn't exist already
  • Copy "GPXR08.render.xml" into the folder "rendering"
  • Select in settings Configure map | Map style "GPXR08"
It should work now.

--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/LnR2qaM9Jg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

P Wat

unread,
Dec 30, 2014, 7:39:30 AM12/30/14
to osm...@googlegroups.com
Hi Jan - Apology not required; you thought you were helping a fellow expert.
Your clear instructions have enabled me to get nearer; thanks.
The folder "rendering" already existed. The file "GPXR08.render.xml" has now been copied into it.
Needed to shut down & re-boot the phone.
In "Settings, Configure map | Map style" the option "GPXR08" is now visible, but when selected I get the message "Exception occurred. Renderer not loaded".
Have I missed a critical step?
PW

Jan van Bekkum

unread,
Dec 30, 2014, 8:56:17 AM12/30/14
to osm...@googlegroups.com
Hello,

All steps look correct, I don't know what went wrong. To be sure please find attached the file uploaded directly from my Nexus4. I just double checked that it can be loaded and works.

Regards,

Jan

--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/LnR2qaM9Jg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+unsubscribe@googlegroups.com.
GPXR08.render.xml

Nelson A. de Oliveira

unread,
Dec 30, 2014, 9:31:55 AM12/30/14
to osm...@googlegroups.com
Jan, can you post a screenshot of your rendering style, please? (I am
without a phone to test)

Thank you!

P Wat

unread,
Dec 30, 2014, 9:38:11 AM12/30/14
to osm...@googlegroups.com
Aha.  Another small step for mankind!
Your earlier file was slightly different. - It looks like you had a similar discussion with Egal at https://groups.google.com/forum/#!topic/osmand/D8LzVbqkB9w
Your latest file started without needing re-boot, and creates the broad dotted line OK.  The road is visible between the dots. I'll look forward to testing in on the ground, and might even try tweaking your file a little to suit the display for use on the bike with Moto G.  Longer spacing between dots might be preferable, or even making the dots transparent so the route is indicated just by the arrows. - Maybe you know how to do this?
Anyway, thank you Jan.
I'll report back in a few days.
PW

P Wat

unread,
Dec 30, 2014, 9:50:21 AM12/30/14
to osm...@googlegroups.com
Hi Nelson
Here's one from a few minutes ago after installing Jan's fle.
PW
Screenshot_2014-12-30-14-44-38.png

Jan van Bekkum

unread,
Dec 30, 2014, 12:40:16 PM12/30/14
to osm...@googlegroups.com
You can play with the path_Effect numbers. For example 4_4 would give a line as long as a hole.

        <filter pathEffect="4_8" strokeWidth="4" color="#FF0000">

--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/LnR2qaM9Jg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.

P Wat

unread,
Dec 30, 2014, 6:08:10 PM12/30/14
to osm...@googlegroups.com
Right - I'll add that to my "Must Try" list*. - Thanks,
*(after understanding how to run OsmAnd on PC so I can examine some routing anomalies on a decent screen & keyboard.)
PW

Jan van Bekkum

unread,
Dec 31, 2014, 1:37:55 AM12/31/14
to osm...@googlegroups.com
You can just edit the file I sent you with a text editor.

--

Hugo Barrocas

unread,
Apr 17, 2015, 6:11:36 AM4/17/15
to osm...@googlegroups.com
Thanks for the file and info :)
I'm also going to try and play with it ;)

Cheers!

Hugo Barrocas

unread,
May 21, 2015, 9:38:50 AM5/21/15
to osm...@googlegroups.com
The recent night builds show a thinner route line, when using the custom render file, anyone noticed?

Jan van Bekkum

unread,
May 21, 2015, 2:42:21 PM5/21/15
to osm...@googlegroups.com

Yes, it looks like the bug that caused the fat route line finally was solved.


Op do 21 mei 2015 15:38 schreef Hugo Barrocas <barro...@gmail.com>:
The recent night builds show a thinner route line, when using the custom render file, anyone noticed?

Osmandtrier

unread,
May 21, 2015, 2:52:03 PM5/21/15
to osm...@googlegroups.com
If you are talking of Jans solution. Yes the line was getting thinner, because it was not rendered correctly before.  The rendering before was to thick.  The older rendering ignored this values strokeWidth="4"

Hugo Barrocas

unread,
May 21, 2015, 4:53:06 PM5/21/15
to osm...@googlegroups.com
Yes, exactly. The default is still thick, but with the Jan mod, it is
now rendered with a thinner line.

--
Cumprimentos,
D.er Hugo Barrocas

P Wat

unread,
Aug 29, 2016, 12:42:00 PM8/29/16
to Osmand
Purple route line. Does the above conversation still contain the optimum method for changing the purple route line into something which allows the detail of the intended road/path to be seen, i.e. not obscured? - I would prefer dotted, not the current thick solid opaque purple.
Thanks. Paul W (back from other pursuits!)

Jan van Bekkum

unread,
Aug 29, 2016, 5:52:08 PM8/29/16
to Osmand

I still use it.


On Mon, Aug 29, 2016, 13:42 'P Wat' via Osmand <osm...@googlegroups.com> wrote:
Purple route line. Does the above conversation still contain the optimum  method for changing the purple route line into something which allows the detail of the intended road/path to be seen, i.e. not obscured? - I would prefer dotted, not the current thick solid opaque purple.
Thanks. Paul W (back from other pursuits!)

--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/LnR2qaM9Jg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

With kind regards/met vriendelijke groet,

Jan van Bekkum

Hugo Barrocas

unread,
Aug 29, 2016, 6:58:27 PM8/29/16
to osm...@googlegroups.com
Same here.

I had seen P Wat's screenshots with the modified lines (doted),
searched for the original topic with Jan's mod, modified my rendering
file, and have been always using it since then.
Mine is a bright kinda-fluo green color with big fat dotted line :)

P Wat

unread,
Aug 30, 2016, 3:36:33 AM8/30/16
to Osmand
Jan & Hugo. Thanks for your quick responses. I'm a bit out of practice but the instructions higher up evidently worked for me before, so hopefully no problems!
Paul W.

P Wat

unread,
Aug 31, 2016, 10:16:19 AM8/31/16
to Osmand
Jan
It transpires that your GPXR file was still present in my device from December 2014 - I had just forgotten why it was there in the list of map styles, consequently I had reverted to using standard "OsmAnd" map.
However, there is a minor change you may be able to offer.

It would be useful to me if the dotted line format for route line could be applied to Map Style "Nautical".
The ability to see nautical features (lock gates, buoys, etc) and to not suffer the purple line, would be a great improvement.
Is this simple to achieve?

Regards
Paul W
(I still dont understand why anyone likes the purple line under any circumstances. - How do you know if your (car) route is going to use a motorway or main road?)

Jan van Bekkum

unread,
Aug 31, 2016, 10:35:29 AM8/31/16
to Osmand

Does it work if you rename the Nautical render to Default? As far as I know OsmAnd takes everything not found in the specified render file from Default. Otherwise you might try to merge GPRXxx and Nautical.


--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/LnR2qaM9Jg0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

P Wat

unread,
Aug 31, 2016, 12:10:45 PM8/31/16
to Osmand
Jan
To avoid confustion/disaster - do you mean?
(a) When running Osmand, go into "Settings", etc, and change something?
(b) Go into file manager, find Osmand, Rendering, find the file "nautical.render.xml", and change its name to "default.render.xml"?  If this, what does one do with the existing "default.render.xml" file?.
Paul W
===========

Jan van Bekkum

unread,
Aug 31, 2016, 12:33:09 PM8/31/16
to Osmand

(b)
Rename default to something else to be able to recover the original status if something goes wrong.

P Wat

unread,
Sep 12, 2016, 7:51:54 PM9/12/16
to Osmand
For some reason it is not working now.
After a phase of repetitive crashes I uninstalled and reinstalled Osmand (& Brouter)
The GPXR08.xml file is located in the render folder of Osmand.
I've shut down & re-booted the device, and re-started Osmand.
When I go to Configure map, Map style, there are half a dozen styles offered, but not GPRX.
Ideas please?
((I'm using Osmand+ 2.4.6 on Android 5.1)
Paul W

Hugo Barrocas

unread,
Sep 13, 2016, 3:25:31 AM9/13/16
to osm...@googlegroups.com
What osmand folder are you using?

There are at least 3 possibilities, in the /data , /sdcard , or
/sdcard1 (external).

You probably have your files in the /data/(...something...).

Check if your GPXR08.xml file is placed inside the folder osmand is
really using ;)

P Wat

unread,
Sep 13, 2016, 3:40:28 AM9/13/16
to Osmand
Hugo, thanks, I'll go through the possibilities and let you know.  PW
===================================

P Wat

unread,
Oct 1, 2016, 7:05:49 PM10/1/16
to Osmand
Sorry for the delay.  Been away (tolerating the thick line), then catching up with normality at home.

So, now back to the problem.
(1) There is no SD card in this phone (it has no facility for it).
(2) There are Osmand rendering files (and many other Osmand files) in two locations.
(3) The Osmand Rendering files are in:-
(a) Internal storage\osmand\rendering.
(b) Internal storage\Android\data\net.osmand.plus\files\rendering.
The former (a) includes "GPXR08.render"
The latter (b) does not.

(3) Should I try moving the "GPXR08.render" file from (a) to (b)?
(4) What should I do about there being Osmand files in two places?  ie Is one set likely to be redundant?  If so, how should I know which ones are safe to remove? 

Thank you
Paul W

Harry van der Wolf

unread,
Oct 2, 2016, 3:07:27 AM10/2/16
to osmand
The "\osmand\rendering." is the "old" storage location as used by earlier versions of OsmAnd.
Now that you did a new install, OsmAnd switched to the current (pre android 6.x that is) installation path which is "Android\data\net.osmand.plus\files".

Simply copy that GPXR08.render to the new location into the rendering folder

And inside OsmAnd you can check/change your storage location under Settings->General Settings -> Storage location.

Note that the old /OsmAnd file location can only be used on internal memory, not on an sdcard (you mentioned that you do not have an sd-card, but for other users).



--
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 osmand+unsubscribe@googlegroups.com.

P Wat

unread,
Oct 3, 2016, 4:35:01 PM10/3/16
to Osmand
Thanks Harry, but something is still not right.
Following your instructions, I copied the GPXR08.render file from
(a) Internal storage\osmand\rendering.
to

(b) Internal storage\Android\data\net.
osmand.plus\files\rendering.
I then shut down Osmand, and re-booted the phone.
On re-starting Osmand, the standard thick purple line is still preset.
1) What have I missed?
2) Should all the old Osmand files also be removed?
3) If so, can they just be deleted (eg using an external file manager)?
Thanks
Paul W

Hugo Barrocas

unread,
Oct 4, 2016, 4:27:54 AM10/4/16
to osm...@googlegroups.com

Now you have to select the gpxr8 file for the rendering, it should be listed in the Osmand map menu options.
It uses the 'default', by default :)

..

> --

> You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/LnR2qaM9Jg0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.

P Wat

unread,
Oct 4, 2016, 4:39:53 AM10/4/16
to Osmand
Ah yes - Thank you - So easy (and obvious) when you know/remember.  The dots are here again.  Oh joy!
Just one(?) further fine-tuning adjustment, please. Is there a simple (idiot-proof?) way to render gpxr8-style dotted line in "Nautical" map mode?
Paul W

Alienheartbeat

unread,
Jan 13, 2017, 10:21:40 PM1/13/17
to Osmand
@Jan van Bekkum - thanks very much.
I now use this - it makes the Navigate function much easier to use - I can now see the underlying roads.
mc

On Tuesday, December 30, 2014 at 6:31:42 PM UTC+11, Jan van Bekkum wrote:
Sorry for not explaining:
  • Create a folder "rendering" in the general osmand folder if it doesn't exist already
  • Copy "GPXR08.render.xml" into the folder "rendering"
  • Select in settings Configure map | Map style "GPXR08"
It should work now.

On Tue Dec 30 2014 at 1:24:11 AM P Wat <pwat...@googlemail.com> wrote:
Hi Jan v B
Your "thin" and "dotted" line idea looks as if it may have potential, thank you.  I'd be pleased to try it if I knew how!
What does one do with the file "GPXR08.render.xml" to make it function within OsmAnd on Android?
Thanks in anticipation,
PW

P Wat

unread,
Jan 16, 2017, 11:25:32 AM1/16/17
to Osmand
Hi "Alienheartbeat"
Good to know there is another supporter for Jan van Bekkum's "thin" and "dotted" navigation line .
I use it in almost all situations.
It is a mystery why anyone likes the solid purple line.
Having the option to use either is even better.
Paul W

P Wat

unread,
Sep 8, 2017, 8:22:32 PM9/8/17
to Osmand
Is this stil a valid and effective fix for overcoming the Purple Line problem?

Jan van Bekkum

unread,
Sep 9, 2017, 10:11:59 AM9/9/17
to Osmand
I think so. Just try.

P Wat

unread,
Sep 9, 2017, 1:34:22 PM9/9/17
to Osmand
Jan - Yes it does work, mostly.
80% OK.  20% not.

First the 80% good. - Detailed explanation in case it helps anyone else.
Closed down OsmAnd.
Got the GPXR08.render file from this topic, above, date 12/30/14.  (Now archived in my PC for future convenience).
Copied it (using USB wire in this instance) into Android device at "SdCArd\Android\data\net.osmand.plus\files\Rendering"
Opened OsmAnd.
In Menu (bottom left of screen), went to Configure map, Map rendering, Map style, Selected GPXR08
Plotted a route.  Dotted line appears. Eureka!
It seems necessary (though boring) to repeat the "Configure map" routine for each map style (Car, Bike, etc)

Now the 20% not good.
Nautical map view shows nautical features, eg buoys, seamarks, lock gates, etc.
I'd previously added the "Nautical" icon to the options alongside Bike, Pedestrian, etc, and it functions correctly.
To show "Nautical" you have to select that icon on the map screen.
Following your instructions of  31/8/16, I've tried various permutations of file names. ie, renamed Default to exDefault, renamed Nautical to Default.   In each case I re-started OsmAnd, and then tried various permutations of settings of "Menu, Configure Map, etc.
I'm able to show the Dotted Route Line, but not whilst showing nautical features.

Questions:-
For convenience of finding the GPRX file, will it function if it is given a more memorable name, eg "DottedRouteLine"?  (Easier to find in the "Configure map" routine.)
To show dotted line in conjunction with nautical features, will it be necessary to merge GPRXxx and Nautical?
If so, how?
Or could there be another way?
 
Thank you
Paul W
================

On Saturday, September 9, 2017 at 3:11:59 PM UTC+1, Jan van Bekkum wrote:
I think so. Just try.
Reply all
Reply to author
Forward
0 new messages