[GraphHopper] State and Province crossings
Tim g
tgalla0102 at gmail.com
Sun Dec 1 15:34:14 UTC 2013
- Sorry for the extremely delayed response, but I just wanted to say I
appreciated the feedback, and thank you for your advice Nicolas! - It
turned out I had missed a call available in the API of a commercial mileage
engine the company I work for was already using and licensed for, so
(unfortunately?) I didn't get a chance to pursue this with graphhopper. -
I was looking to overlay a route over an openstreetmap (which this looked
to be a great solution for!), with in-state distances, but had missed the
commercial product actually had a .dll method available to pull the route
shape points to be able to render it elsewhere, which took care of the
whole issue and made a quite easy solution with things I had previously
built. -- I hope to have a reason to return to the graphhopper project
thought, after having it up and running it looks pretty awesome, especially
in the speed department.
Thanks again,
~Tim
On Tue, Oct 15, 2013 at 1:52 AM, Nicolas Gillet <
nicolas.gillet at market-ip.com> wrote:
> Hi Tim,
>
>
>
> I basically see 2 ways of doing this
>
>
>
> The first consist of catching provinces’ border nodes while computing the
> path’s distance. Iterating over the path’s nodes and split the path each
> time the encountered node is a border node.
>
> This would require some modification in OSM import process to ensure that
> there is always a node in the border. You’d also have to decorate node
> storage to store the “isBorder” info.
>
>
>
> The second would be to use graphhopper as is and then use a library like
> GeoTools to split the road using the provinces’ geometries as a “cookie
> cutter”.
>
>
>
> The first one might be more efficient, the second easier to implement.
>
>
>
> 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 :* Tim g [mailto:tgalla0102 at gmail.com]
> *Envoyé :* mardi 15 octobre 2013 00:38
> *À :* graphhopper at openstreetmap.org
> *Objet :* [GraphHopper] State and Province crossings
>
>
>
> Good afternoon all,
>
>
>
> - I came across this amazing project today, and was able to get the
> source up and running pretty quickly. One of the needs of the project I
> am working on is to be able to break out mileages of a route by
> state/province. I am quite comfortable in Java, but not as much with
> routing and the 'guts' of OSM data yet.
>
> - Would there happen to be anything in the works to possibly be able to
> do this, and if not any thoughts on if possible, and the size of the
> undertaking to be able to do so? If the existing framework would
> reasonably support doing this, I'd appreciate any pointers in the right
> direction.
>
>
>
> Thank you all for your time,
>
> ~Tim
>
> _______________________________________________
> 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/20131201/ba2ffb19/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/20131201/ba2ffb19/attachment.png>
More information about the GraphHopper
mailing list