[GraphHopper] Using Shapefile as primary data for routing

Muhammad Iqnaul Haq iqnaulhaq at gmail.com
Wed Feb 12 14:24:52 UTC 2014


Hi Nicholas

I'm afraid I still not get it because my background is not computer
science, do you have a refered link like tutorial or example to do this?


On Wed, Feb 12, 2014 at 8:38 PM, Nicolas Gillet <
nicolas.gillet at market-ip.com> wrote:

>  Hi,
>
>
>
> It's totally possible, I did myself.
>
> You will have to write your own reader for your shape files and create the
> graph out of the data you read.
>
> If you're working with shape files in Java, you might already know the
> GeoTools library. It's a good start to read shape files.
>
> Check the existing GraphHopper's OsmReader to have hints on how to create
> and populate the graph, the rest depends on your data structure.
>
> Once the graph is created you can use it as any other GH graph.
>
>
>
> Regards,
>
>
>
> Nicolas GILLET
>
>
>
>
>
> *Market-IP -* *Creating Mobile Intelligence*
>
> Phone : +32 81 33 11 11
>
> Fax : +32 81 33 11 10
>
> www.market-ip.com - www.telefleet.com - www.geoplanning.net -
> www.drivexpert.net
>
> [image: Description : cid:image003.png at 01CD5521.849F3340]<http://www.linkedin.com/groups/MarketIP-4289716?gid=4289716&trk=hb_side_g>
>
>
>
> *De :* Muhammad Iqnaul Haq [mailto:iqnaulhaq at gmail.com]
> *Envoyé :* mercredi 12 février 2014 09:33
> *À :* graphhopper at openstreetmap.org
> *Objet :* [GraphHopper] Using Shapefile as primary data for routing
>
>
>
> Hi all! I'm a new user of graphhopper. I'm working on my final academic
> research right now, the aim of the research is knowing how to make a route
> to avoid traffic-jam.
>
> At first I'm working with pgrouting, geoserver, and openlayers but I got
> stucked because my route did not showed up. I found the graphhopper and
> interested on it.
>
>
>
> But I've a problem, I want to use my own data (it is in shapefile .shp)
> format. Because in Indonesia the road network data from openstreetmap is
> not completed yet I thought. How can I use the data so that it can be used
> to graphhopper?
>
> I want to add restricted access to each road that has a traffic jam on it,
> can I able to do this using graphhopper?
>
>
>
> Need all assistance from you guys :)
>
>
>
> regards
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140212/b0454015/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1263 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140212/b0454015/attachment.png>


More information about the GraphHopper mailing list