Author Topic: How to download BRouter routing files  (Read 4176 times)

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1883
  • Thanked: 16 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
How to download BRouter routing files
« on: January 02, 2014, 10:44:27 »
Update from 26.01.2014
If you use the BRouter app (http://www.dr-brenschede.de/brouter/offline.html. There is a new version 0.98 ;) ) you have to download some routing (rd5) files too. And perhaps the new files for car routing.

Improvement and redesign of download tool for BRouter segment files

You want it a bit easier to download the BRouter files? :-)

Please read carefully.
For Windows users only.


At the moment there are: Batch scripts  for D-A-CH (Germany, Austria, Switzerland), BE-NE-LUX (Belgium, Netherlands, Luxembourg),
Czechia, France, Great Britain (incl. Ireland), Italy and Spain.

1. Download the attached Down-BRouter-Files.zip file and copy it to your target directory, where you want to download later the BRouter files
2. Unzip the zip file
3. Open the command prompt and change to the directory where you unzipped the Down-BRouter-Files.zip
4. Run Start.bat (this will download the two BRouter files for the isle Madeira AND CREATE (ADD) a subdirectory structure to your actually directory
    h2096617.stratoserver.net\brouter\segments2\carsubset
   You may see the download  progress and if you don´t want the to files. you may delete them, but leave the directories untouched!
5. NOW do not start any other batch script, if you have already downloades BRouter files before,
    copy your allready existing *.rd5 files to h2096617.stratoserver.net\brouter\segments2\ (not to carsubset!!!) and
    all existing *.cd5 files to h2096617.stratoserver.net\brouter\segments2\carsubset subdirectoriy

Ready????
6. Now you can start with download your country with the included batch files.
    The BRouter files are only downloaded if the are newer than the files you copied before to the subdirectories.
   Vou may see the information while the batch is running.
   
7. Now you can copy the downloaded *.rd5 files to your BRouter/segments2 directory
    and the downloaded *.cd5 files to BRouter/segments2/carsubset directory at your phone
   
Let me know if it doesn´t work ;-)
Have fun


« Last Edit: January 26, 2014, 16:20:47 by jusc »
Regards J.
 

Offline brotbuexe

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 148
  • Thanked: 1 times
    • View Profile
Re: How to download BRouter routing files
« Reply #1 on: January 03, 2014, 06:49:28 »
Your batch files references the wrong txt file names. Aside this, looks good. Thanks.
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1883
  • Thanked: 16 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: How to download BRouter routing files
« Reply #2 on: January 03, 2014, 08:19:47 »
What a shame  :-[, Corrected in first post
Thank you for answer
Regards J.
 

Offline Christian

  • Premium
  • Master of Locus
  • ****
  • Posts: 728
  • Thanked: 2 times
    • View Profile
Re: How to download BRouter routing files
« Reply #3 on: January 04, 2014, 20:43:34 »
Thanx mate. It works and saved me a lot of time.
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1883
  • Thanked: 16 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Regards J.
 

Offline ta-ka

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 246
  • Thanked: 3 times
    • View Profile
  • Device: SGNoteEdge
Re: How to download BRouter routing files
« Reply #5 on: January 29, 2014, 17:11:20 »
Hello jusc,

Thank you for sharing the download scripts.
I've created 'Download-Japan.bat' and 'Japan.txt' for downloading BRouter routing files for Japan.

I've also created 'wget_routing_data.sh' for downloading files in linux. This shell script accepts multiple *.txt files. For example to download CZ and D-A-CH routing files, follow the instruction from 1 to 3, then at 4, run shell script as follows.

./wget_routing_data.sh Madeira.txt

Then, follow the instruction 5 and run shell script again as follows for the instruction 6.

./wget_routing_data.sh CZ.txt D-A-CH.txt

Finally follow the instruction 7.
 

Offline wvb

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 218
    • View Profile
  • Device: Z1, Nexus 7, TrueSmart
Re: How to download BRouter routing files
« Reply #6 on: November 03, 2014, 06:11:54 »
Hi jusc,
Thanks a lot for the these files!

Is there some easy info to find out which files are needed?
Like layer over Google Maps or OSM that shows a grid with the tiles info, or a list somewhere?

I would like to understand how you knew which files to select.

Thanks,
Grtz,
W.

Sent from my C6903 using Tapatalk

 

Offline szebenyib

  • Apprentice of Locus
  • **
  • Posts: 174
  • Xperia P
    • View Profile
Re: How to download BRouter routing files
« Reply #7 on: November 03, 2014, 07:54:52 »
In the play store version there is a map for that, precisely as you described. It worked for me like a charm.