<div dir="ltr">Hi Vincent, Sounds to me that the best apporach, if your maps are static is a simple tile server running on your plug computer and use that, or another one to run graphhopper to do the routing. That will be determined by the size of your map and routing area and what memory you have available on the server. By the looks of it they are quite cheap so I would probably use two, then you have some server redundancy. Set up he tiles and graphhopper on both, but use one on each, switch to one unit if the other goes down or needs to be sent for updatng, etc.<div>
<br></div><div>Serving premade tiles from a small linux computer is quite feasible, make the tiles on another system and dump them on the plug computer. I use GeoWebCache like this, but there are several others proxy style Tile Servers. </div>
<div><br></div><div>Have a read of <a href="https://wiki.openstreetmap.org/wiki/Creating_your_own_tiles">https://wiki.openstreetmap.org/wiki/Creating_your_own_tiles</a></div><div><br></div><div>I use OpenLayers for the Client side work, again there are a couple of other options like Leaflet, which Peter uses so your Client solution might be quick to deploy if you just use his demos and drop your own graph in.</div>
<div><br></div><div>You can build your Graphhopper graphs off line and then download them to the plug computer and route on your local lan over the tiles served form the tile Server.</div><div><br></div><div>All quite feasible</div>
<div><br></div><div>Cheers</div><div>Mark</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br></div><div>Regards</div><div><br></div><div>Mark Cupitt</div><div><br></div><div><div>
"If we change the world, let it bear the mark of our intelligence"</div><div><a></a><div><br></div></div><div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a></div><div><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"></div>
<span style="font-family:arial black,sans-serif"><b><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span><br><img src="http://gis.stackexchange.com/users/flair/17846.png"><br>
</div><div>===============================================================================================</div><div>The contents of this email are intended only for the individual(s) to whom it is addressed and may contain</div>
<div>confidential or privileged information. If you are not the intended recipient, you must not disclose, copy, distribute,</div><div>or use the contents of this email. If you have received this email in error, please notify the sender immediately and</div>
<div>delete the email and any attachments.<br></div><div>
===============================================================================================
</div></div></div>
<br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 10:39 PM, <a href="mailto:vepa2spam@gmail.com">vepa2spam@gmail.com</a> <span dir="ltr"><<a href="mailto:vepa2spam@gmail.com" target="_blank">vepa2spam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Mark,<br>
<br>
Thanks for your answer.<br>
it's remotely on a LAN with no internet access. I plan to run OSM
on a <a href="http://en.wikipedia.org/wiki/Plug_computer" target="_blank">plug
computer</a>. And clients are standard computer.<br>
All computer run on Linux, the plug computer is a debian wheezy
and clients are lubuntu 12.04.<br>
And I want to use any technology to acheive my main goals :
routing capability and for offline use.<br>
<br>
Regards<br>
Vincent<div><div class="h5"><br>
<br>
On 19/01/2014 22:51, Markware Software Services wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi VIncent,
<div><br>
</div>
<div>I'm not clear on your question, How can you have Off Line
capability then want to view remotely??</div>
<div><br>
</div>
<div>Graphhopper already works nicely on Android with an
OfflneMap that you can make yourself from OSM Data using
MapsForge. There is a full working Demo in the Graphhopper
downloads site.</div>
<div><br>
</div>
<div>What platform and technology do you want to use?</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Mark</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">
<div><br>
</div>
<div>
Regards</div>
<div><br>
</div>
<div>Mark Cupitt</div>
<div><br>
</div>
<div>
<div>"If we change the world, let it bear the mark of our
intelligence"</div>
<div>
<div><br>
</div>
</div>
<div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a></div>
<div><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"></div>
<span style="font-family:arial black,sans-serif"><b><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span><br>
<img src="http://gis.stackexchange.com/users/flair/17846.png"><br>
</div>
<div>===============================================================================================</div>
<div>The contents of this email are intended only for the
individual(s) to whom it is addressed and may contain</div>
<div>confidential or privileged information. If you are not
the intended recipient, you must not disclose, copy,
distribute,</div>
<div>or use the contents of this email. If you have received
this email in error, please notify the sender immediately
and</div>
<div>delete the email and any attachments.<br>
</div>
<div>
===============================================================================================
</div>
</div>
</div>
<br>
<br>
<div class="gmail_quote">On Mon, Jan 20, 2014 at 5:33 AM, <a href="mailto:vepa2spam@gmail.com" target="_blank">vepa2spam@gmail.com</a>
<span dir="ltr"><<a href="mailto:vepa2spam@gmail.com" target="_blank">vepa2spam@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
everyone,<br>
<br>
I'm looking for a solution to have OSM with routing
capability and for offline use.<br>
The computer were this solution will run, is a headless
computer and have only 512MB of memory and a 1Ghz processor.<br>
Ideally, clients will connect using their browser.<br>
<br>
Graphhopper seems to fulfill my needs, but offline
capability doesn't work remotely (I'm thing of mapsforge
solution).<br>
<br>
Do you know a better and _easy_ solution for my project ?<br>
<br>
Thanks for your answers<br>
<br>
Regards<br>
Vincent<br>
<br>
_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>