... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RouteConverter On Chromebook within Crouton
#1
Hi,

This is both a post to ask questions as well as trying to get a "mini HowTo" on how to get it working. It would be nice to have it working on a chromebook as well.

I now have a Chromebook (Toshiba Chromebook 2) as well. I installed crouton onto it with trusty/xfce4. I installed openjdk-7-jre and the icedtea-7-plugin as well.
Then I downloaded the linux RouteConverterLinux.jar and the linux RouteConverterLinuxOffline.jar. Both version 2.14.3

With the "RouteConverterLinux.jar" I get the  "Failed to create chrriis.dj.nativeswing.swtimpl.components.core.NativeWebBrowser" even though I have "libwebkitgtk-1.0-0" installed. How to fix/debug this. The /tmp/RouteConverter.log does not really store information I can use. And nothing is stored in any of the /var/log/ logs.

Then I tried the "RouteConverterLinuxOffline.jar" which uses OpenStreetMap and Graphhopper/Brouter/Beeline. As I'm fully on OSM and using Brouter as well, I think this is a great development. 
  • I started with brouter using car-test but I only get a straight line. Does it need to download stuff from brouter or is it using the api (or whatever) to http://brouter.de/brouter-web/ ? 
  • Then I tried to calculate a route with graphhopper. it needs to download the relevant pbf. No problem as such but I get a CRC error when downloading maps.
  • Then I tried beeline, but that seems not to do anything as I get a straight line as well. (or is that what it is: beeline -> a bee flying in a straight line?)
  • Beeline was the last option I tried but now I can't select graphhopper or brouter anymore. Neither after restarting. I checked the .routeconverter hidden folder for setup options but I'm not able to find them.


A lot of questions. I hope you have a lot of answers Wink



Edit: last bullet was automatically solved. After a few restarts I could suddenly select brouter and graphhopper again. 
Reply
#2
W.r.t. "RouteConverterLinuxOffline.jar" and brouter. I assumed I needed segments for brouter so I now acted very slowly and patiently. And indeed, after having downloaded the correct segment it did generate a nice route. Great, but the problem is now that it did this only once. I simply can't repeat it for other segments.

I downloaded the segments manually from the brouter segment repo and put them in the correct folder.

This doesn't work however and neither does the original downloaded segment anymore.

Is this a chromebook issue or a general issue ?

Edit: I found that one. From datasources/brouter-segments.xml it turns out that RouteConverter downloads from http://h2096617.stratoserver.net/brouter/segments3/
I downloaded from http://brouter.de/brouter/segments3/. Those segment files are newer and therefore the CRC checksum fails.
Reply
#3
(21.06.2015, 11:40)hvdwolf Wrote: [*]I started with brouter using car-test but I only get a straight line. Does it need to download stuff from brouter or is it using the api (or whatever) to http://brouter.de/brouter-web/ ? 

Both Routers needs to download routing information from external servers. You should see it in Extras/Downloads...

(21.06.2015, 11:40)hvdwolf Wrote: [*]Then I tried to calculate a route with graphhopper. it needs to download the relevant pbf. No problem as such but I get a CRC error when downloading maps.

Most of the time this means that the data on the external server has been updated and you're the first to download it. And the catalog of external data is updated after this download but as the first downloader you see the error message. It's irritating and I'm thinking about ways how to fix it.

(21.06.2015, 11:40)hvdwolf Wrote: [*]Then I tried beeline, but that seems not to do anything as I get a straight line as well. (or is that what it is: beeline -> a bee flying in a straight line?)

You're right. It's a straight line connecting the positions - like for a track.

(21.06.2015, 11:40)hvdwolf Wrote: [*]Beeline was the last option I tried but now I can't select graphhopper or brouter anymore. Neither after restarting.

Strange. Are you using the latest prerelease?
--
Christian
Reply
#4
I found the issue with Brouter files as mentioned in the second post.

I used the  "freigegebenen" 2.14.3 versions.

I tried with graphhopper in Luxembourg. However, it downloads the latest belgium map from geofabrik instead of the Luxembourg map. And then it breaks again on a failed download. This time I tried on a Windows 7 machine to check whether it had to do with Chromebook or not.
Reply
#5
(22.06.2015, 16:15)hvdwolf Wrote: I tried with graphhopper in Luxembourg. However, it downloads the latest belgium map from geofabrik instead of the Luxembourg map.

It might be that the Luxembourg map doesn't cover all positions of your route. I've implemented an algorithm that tries to determine the smallest possible .pdf file which is then downloaded from geofabrik.
--
Christian
Reply
#6
(23.06.2015, 08:58)routeconverter Wrote:
(22.06.2015, 16:15)hvdwolf Wrote: I tried with graphhopper in Luxembourg. However, it downloads the latest belgium map from geofabrik instead of the Luxembourg map.

It might be that the Luxembourg map doesn't cover all positions of your route. I've implemented an algorithm that tries to determine the smallest possible .pdf file which is then downloaded from geofabrik.

(I now tried with the 2.15-Snapshot-417 of 20 June)

It was a 3-5 km route in the center of Luxembourg. I only did that to test with a small map which would download extremely fast.
It was definitely covered by the Luxembourg map.

I also tried with a small route in Reykjavik, Iceland but then it tries to download the Europe-latest.osm.pbf (15.3GB) while there is an Iceland (16.4MB) map.

In Andorra I works OK and it downloads the Andorra map, but I get always the CRC download error: on Linux, windows and Chromebook.

Edit: The strange thing is that both the Belgium-latest.osm.pbf and the  Andorra-latest.osm.pbf give a checksum error, but after a restart the Androrra version can be used for routing, but the Belgium map can not (for a real route inside Antwerp).
Reply
#7
Please provide me with the small routes so I can test and see what's the problem.
--
Christian
Reply
#8
I don't have routes for you.
In Luxembourg I simply routed from Larochette to Mersch, and Mersch to Lintgen and combinations. But RouteConverter wanted to use the Belgium-latest map.
As the Belgium map was already downloaded I tried in Antwerp, Belgium where I simply right-clicked "somewhere" in Antwerp and again "somewhere" in Antwerp, and that a couple of times.
In Andorra I did again the same as well. Centrally in Andorra some random roads. And there it worked.

This is all about graphhopper.
I also mentioned Reykjavik but I stopped that when I saw that RouteConverter tried to download the 15.3GB Europe file, where I anticipated that it had alrady downloaded the 15.4MB Iceland file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)