Author Topic: BRouter 0.9.1  (Read 30516 times)

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11387
  • Thanked: 303 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: BRouter
« Reply #30 on: June 08, 2013, 08:36:33 »
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 ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline abrensch

  • More than Newbie
  • *
  • Posts: 99
  • Thanked: 23 times
    • View Profile
Re: BRouter
« Reply #31 on: June 17, 2013, 11:33:15 »
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
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1228
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: BRouter
« Reply #32 on: June 28, 2013, 20:44:55 »
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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1228
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: BRouter
« Reply #33 on: June 30, 2013, 22:14:41 »
@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
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline broskev

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: BRouter
« Reply #34 on: July 11, 2013, 14:33:29 »
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
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1896
  • Thanked: 19 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: BRouter
« Reply #35 on: July 11, 2013, 15:10:21 »
I think it´s case sensitive...
Points are from/to not From/To
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1228
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: BRouter
« Reply #36 on: July 11, 2013, 15:14:17 »
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!?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline broskev

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: BRouter
« Reply #37 on: July 11, 2013, 19:25:52 »
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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3553
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: BRouter
« Reply #38 on: July 11, 2013, 19:57:47 »
So there's most likely not the correct routing-data-file in the brouter/segments2 directory
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1896
  • Thanked: 19 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: AW: BRouter
« Reply #39 on: July 11, 2013, 20:07:07 »
Can you please show the used coordinates?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline broskev

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: BRouter
« Reply #40 on: July 12, 2013, 00:00:43 »
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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1896
  • Thanked: 19 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: BRouter
« Reply #41 on: July 21, 2013, 16:46:11 »
There ist a new version 0.9.3 with a service for android. http://brensche.de/brouter/revisions.html
But what is to do?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11387
  • Thanked: 303 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: BRouter
« Reply #42 on: July 21, 2013, 17:53:16 »
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 ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3553
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: BRouter
« Reply #43 on: July 21, 2013, 17:57:13 »
Quote from: "menion"
.., I should look at it ...
yes, you should ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11387
  • Thanked: 303 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: BRouter
« Reply #44 on: July 21, 2013, 18:08:50 »
I just wrote Arndt short email, so I'll see what he think about it ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!