This object is in archive! 

Support for brouter.redirect

Marius Moldovan shared this question 7 years ago
Answered

I cannot make it work the brouter.redirect setting.


I placed a brouter.redirect file in /extSdcard/....Locus/mapItems which contain the text "/storage/emulated/0/brouter "

where brouter is the folder in the internal memory where brouter saves the .gpx routes it calculates for navigation

But after,still there isn't any route displayed in the Items tab ..so I can see it in the map.

If I manually move the .gpx file from /storage/emulated/0/brouter folder to /extSdcard/....Locus/mapItems then I can see the route in the Items tab

I tried to write alternative path "/mnt/sdcard/brouter" but no luck :(

Replies (9)

photo
1

Hi Marius,


Locus can read only GPX, KML, KMZ, JSON etc. files in mapItems folder. Redirects do not work. If you want BRouter to navigate within Locus, set it as a Source in Locus > settings > navigation. Then use Locus-built "Navigate to" function or an alternate way described here >>

photo
1

I am using the alternate way for navigating with brouter (http://docs.locusmap.eu/doku.php?id=manual:user_guide:tracks:planning:brouter ) because i want to use 8 via points.


But brouter cannot write the generated route .gpx to extSdcard folder--folder not writtable for brouter--(I'm on android 6 and locus folder is on external sdcard and the mapItem folder is also here)

So brouter puts the .gpx route to it's folder in internal sdcard(where I installed it)

How can I automattically move the gpx route from internal sdcard folder to the mapItem folder from external sdcard /Locus ?? so it can be visualized on the Iems tab?


Thank you

photo
1

I took the procedure from this : http://brouter.de/brouter/readme.txt

It is not working for Locus?

photo
1

I see but I'm not sure if there is such a way. You have to copy the BRouter GPX manually. Another way is to use BRouter as a routing tool for the "Add a new route" feature in Locus - here you can have as many via points as you like, see http://www.locusmap.eu/have-you-tried-engine-assisted-route-drawing/

photo
1

I would not use the in built brouter navigation method,but I use the method with quick points because only in this method I am able to choose some custom brouter profiles(like hiking, trekking MTB moderate,car avoiding unpavved roads etc.)

photo
1

You can always deactivate the Locus own configuration for Brouter and use the old good way of Brouter transportation mode mapping to profiles.


But quick points are preferred for cases of multiple viewpoints.

photo
1

What about this ? http://brouter.de/brouter/kitkat_survival_readme.txt

But I do not have a personal experience with it, being a happy user of Android 4.3


photo
1

This is exactly what I have followed and all is working fine EXCEPT the brouter.redirect feature .. and this is why I wanted to ask some users if they could use this method for seeing the route in Items tab !

photo
1

The readme file mentions only OruxMaps regarding the "workaround" with redirect, nothing about Locus. The main developer @Menion follows this topic too, maybe he'll have something to say to this. However, he's on a vacation till Saturday so maybe it'll take him some time...

photo
1

why not put the MapItems of Locus on th internal SD - and tell Locus in the resp. setting (Misc ...) ?

photo
1

And to have to store custom maps and other big things on internal sdcard? No thanks! ,that's the whole point of having external sdcard and that is why I choosed locus folder to be on the extSdcard

photo
1

But mapitems folder is not intended to store custom maps and other big things. I usually have nothing there but occationally brouter0.gpx file or external POIs. The location of mapsitems folder is, along several other folders, configurable in Settings - Others.

photo
1

Exactly - I have three different places to store things for Locus (Android 4.4), all managed by settings, and the vector and SQLITEDB maps have their own paths, as Libor hinted.

photo
1

I have in mapItems folder the maps that I had calibrated from hi resolution jpeg for different mountain regions in kmz format done by locus function,so there is a lot of data,besides the external POI..

Anyway please can you explain me what is your configuration with brouter,where you had install locus...locus folders/custom/ and brouter install folder, in such a way that you have brouter0.gpx directly in mapItems folder?

Thanks

photo
1

Hi Marius, I have used various devices with Locus over time and with different Android versions, and this is my best practise:

- keep the main directory on internal SD

- put the vector maps and sqlitedb maps on external SD (feeding via PC connection mostly)

- the mapsvector setting I keep on internal SD, so I can always download (e.g. from OAM) and install, but then I would move the map to external SD

- only maps that collect more tiles over time I keep on internal SD (hence I keep the setting also there)

- the SRTM files I keep either on internal SD and (different device) on external SD, under the Android/data directory path - this allows for ad hoc additions, even under Android 4.4. But you must not de-install Locus (if oyu do, this directory is lost)

- that path on external SD should also work for SQLITEDB maps, but I never tried that - you should not put data there that cannot be recovered from somewhere else


Above setups work with BRouter like a charm. BRouter data is located on the external SD, also under Android/data. Write access and updates are not an issue - just works. No need for the redirect.


In fact you have many options for both, Locus and BRouter, to puzzle according to your needs and balance the storage capacities between internal/external.

photo
1

@menion Is this feature implemented in locus?


Or do you have plans for implement brouter.redirect?

Thank you

photo
1

Good day Marius,

you are the first who ask me for support of such "feature". I was not aware of it so it is not implemented.


I believe that over time, we will offer full featured handling of BRouter over UI directly in Locus, so generated GPX file won't be needed at all. So it is also not planned.

photo
1

Ok,thank very much.That is good news that we'll have brouter UI directly in locus

Replies have been locked on this page!