Started by gynta, April 04, 2013, 20:34:26
0 Members and 1 Guest are viewing this topic.
Quote from: "gynta"...What I'm doing wrong here...
Quote from: "jusc"Do you have an external SD drive? Normally you have only to follow the proposed directory.
Quote from: "gynta"use now a datamanageryou sholud have a brouter folder on your external sdcard.copy your *.rd5 files to ../brouter/segments2/copy your *.dat files to ../brouter/profiles2/copy lookups.dat to ../brouter/profiles2/---
Quote from: locuscyclingBut on ''gynta'' video 0.06 sek he didn't write nothing
QuoteI see icon ,,video'' . Is it possible in Locus ?. I know is it possible to give ,,photo'' to right panel but ,,video''
Quote from: "locuscycling"Thanks, gynta - excellent!
Quote from: "gynta"Has anyone tested the new "nogo" rule?
Quote from: meniongynta bring BRouter in locus into almost perfect offline solution <!-- s:) --><!-- s:) -->. Suggest to show this to BRouter developer. Maybe it convince him to make it even better (more integrated into Locus).
QuoteBRouter - Beta Version 0.9.1 - Using the service interface==========================================================BRouter 0.9.1 contains an experimental service interface.Technically, it's an internal HTTP-Server running on thedevice serving the same protocol as an online service.This server serves requests of the form:<!-- m -->http://localhost:17777/brouter?format=k ... yer=mapnik<!-- m --> HTTP/1.1and responds with a track in KML format. This protocol is similar to thatspoken between OsmAnd and YourNavigation.Consequently, it is not required anymore to have from/towaypoints, if not present, BRouter simply starts it'sservice and does no route calculation.The server is running within an Android service that is startedfrom the BRouter APP when pressing the "Server-Mode" Button asa last step. It uses the configuration (profile + nogo-areas)configured in the app. If the service is already running, itkeeps running and just the configuration is updated whenpressing the "Server-Mode" Button.That way it is possible to habe fully integrated navigationin OsmAnd with the BRouter routing as an offline service,fully configurable via the profile selection and nogo-areas.In this setup, all configuration within OsmAnd (motocar/bicycle/foot,fastest/shortest, exclusions) is ignored.This internal HTTP interface is a preliminary solution, thereforethere is nithing happening to get the necceray patch in theOsmAnd release process (You need to patch it yourself, eitherby building from source, or patching on binary level using apktool,or tempering with /etc/hosts might also work if you have rootedyour phone).The problem in this setup is that there's no guarantee fromthe android system to keep this service alive, it might, at anytime, shut it down to reclaim the memory. So the "final" solutionfor an offline routing interface will probably have to usethe android service architecture "as intended" without goingthrough an http-interface.However, in my tests, it works fine, and service shutdownsare no problem on my Android 2.3.6 phone and somewhat morefrequent on my 4.0.1.Perfomance is o.k. for intermediamte distances (<20 km air distance),for larger distances you will have to use the "traditional" BRouterfile interface for the first run, and then put waypoints along thattrack.