BRouter 0.9.1

Started by gynta, April 04, 2013, 20:34:26

0 Members and 1 Guest are viewing this topic.

Menion

#30
Hmm local http server is quite crazy idea, but it should work and should be quite easy then, to add it directly to locus. anyway I contacted author of graphhooper if he not forget on Locus :) and we'll see ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

abrensch

#31
Quote from: "menion"Hmm local http server is quite crazy idea, but it should work and should be quite easy then, to add it directly to locus.

Hi Menion,

no, local http doesn't really work because I don't have enough control on process lifecycle. Android is shutting down my service sometimes, limiting the usablility.

This idea is just one step towards integration, because it was easy to do. What I want to achieve is to define an offline routing interface that is open on both sides (=allows to exchange the router as well as the map tool), that fits into the android programming model (=router is started implictly by the requesting maptool, no lifecycle issues) and that transports more information (=router gets e.g. moving direction, map tool gets e.g. voice navigation hints in addition to plain track)

However, my Android knowledge ist still very limited, so any help is appreciated.

regards, Arndt
  •  

tommi

#32
Quote from: "abrensch"Hi Menion,

no, local http doesn't really work because I don't have enough control on process lifecycle. Android is shutting down my service sometimes, limiting the usablility.

This idea is just one step towards integration, because it was easy to do. What I want to achieve is to define an offline routing interface that is open on both sides (=allows to exchange the router as well as the map tool), that fits into the android programming model (=router is started implictly by the requesting maptool, no lifecycle issues) and that transports more information (=router gets e.g. moving direction, map tool gets e.g. voice navigation hints in addition to plain track)

However, my Android knowledge ist still very limited, so any help is appreciated.

regards, Arndt
Hi Menion,
your help here could bring Locus navigation forward.
See Arndt's request for help also here: https://groups.google.com/forum/#!topic ... AGCaq32QUU
... including relevant source code for brouter.
  •  

tommi

#33
@Menion:
Is brouter now in a state which allows a tighter integration into Locus?

http://dr-brenschede.de/brouter/revisions.html:
brouter_0_9_3.zip (current revision, 30.6.2013)

    introduced new service interface as android service
    re-designed service-mode configuration to be more flexible
  •  

broskev

#34
Hi please could you help me?

I followed instructions written here and watched the videos but still cannot make it works. What I did:

- I installed brouter including segments (E5_N45 - E20_N50, this should cover also Czech Republic where I am testing it)
- I ran Locus (or oruxmaps), added "From" and "To" waypoints and started Brouter
- I selected some route profile (e.g. shortest)

--> It displayed message:
Success, no from/to found (coordinate-source: /mnt/sdcard/oruxmaps)
There are buttons "Exit" and "Server-Mode"

No gpx file is created into Loxus/Oruxmaps folders.. Interesting is that when I close the message, it will open network settings (data, gps...). But I think I do not need GPS/data enabled..

I tried it with offline and online maps, vector maps... Still the same result.

Thank you

Ondrej

Motorola XT320
Android 2.3.6
Locus Free
  •  

jusc

#35
I think it´s case sensitive...
Points are from/to not From/To
Regards J.
  •  

tommi

#36
Hm, first I thought it's because you maybe didn't create from and to points but From and To. But If I delete my from and to pair and create From and To, an error message similar to your one appeared but *before* asking me for a route profile!?
  •  

broskev

#37
I changed the waypoints to "from" and "to" and I got an error:

from-position not mapped. it is displayed after chosing route profile.

If you need some more information, please let me know.
  •  

gynta

#38
So there's most likely not the correct routing-data-file in the brouter/segments2 directory

jusc

#39
Can you please show the used coordinates?
Regards J.
  •  

broskev

#40
Guys,

actually one segment file was missing. Now it works fine. I am sorry it was my fault. It was quite difficult for me to understand the segment files...

Thanks for help.

O.
  •  

jusc

#41
There ist a new version 0.9.3 with a service for android. http://brensche.de/brouter/revisions.html
But what is to do?
Regards J.
  •  

Menion

#42
ah I forget to respond to Arndt's message 17th June. But seems, he solved it professionally alone, perfect :)

What to do? With this new BRouter service, every developer may use BRouter app directly, so it can be called within a code to compute parameters. So if there will be interest from your (users) side and from Arndt site, I should look at it ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

gynta

#43
Quote from: "menion".., I should look at it ...
yes, you should ;)

Menion

#44
I just wrote Arndt short email, so I'll see what he think about it ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •