This object is in archive! 

Also EXport track color/style to GPX

Georg D shared this idea 10 years ago
Completed

It‘s nice that Locus can import track style from GPX files (see

http://www.locusmap.eu/news-in-version-2-19-0/ ). If Locus could also export the simple track styles (so not those like altitude depending

color) to GPX, the loop would be closed - it would be possible to

export as GPX & edit on PC & re-import, or to transfer single tracks

between several Locus instances - all without loss of style information.

Replies (4)

photo
1

Add support for export of <color> and <width> to track.


Only what I'm thinking about is whether export this style in all cases or only if "Use folder style" is disabled.


Because if you export track with style that use "style of folder", then after re-import, it will has same colour as before (so same as was in folder), but it will not use "Style of folder" anymore. On second side, it will use "style of folder", but colour should not be same (because it depend on a folder).


Anyway, for now, I set to export it everytime, because I think that keeping a style is more important then keeping a "use style of folder" button.

photo
1

Menion wrote:

Add support for export of <color> and <width> to track.


Only what I'm thinking about is whether export this style in all cases or only if "Use folder style" is disabled.


Because if you export track with style that use "style of folder", then after re-import, it will has same colour as before (so same as was in folder), but it will not use "Style of folder" anymore. On second side, it will use "style of folder", but colour should not be same (because it depend on a folder).


Anyway, for now, I set to export it everytime, because I think that keeping a style is more important then keeping a "use style of folder" button.

works as described, yhanks

photo
1

Menion wrote:

Only what I'm thinking about is whether export this style in all cases or only if "Use folder style" is disabled.


Because if you export track with style that use "style of folder", then after re-import, it will has same colour as before (so same as was in folder), but it will not use "Style of folder" anymore. On second side, it will use "style of folder", but colour should not be same (because it depend on a folder).

Maybe in the GPX file you could simply add the information "was color in Locus defined for folder or track?" in an extension with locus namespace?


I'll try the implementation in next version - whichever way it will be, it will be better than now :)

Replies have been locked on this page!