[OSM-dev] Pyroutelib vs Pyroutelib2?
ojwlists at googlemail.com
Wed Feb 17 21:11:07 GMT 2010
I should probably know more about the history of this program than I
do, but here goes...
I think pyroutelib was part of some huge GUI application for mobile
phones, whereas pyroutelib2 just pulled-out the routing code into a
smaller set of files that was easier to import into another project.
It looks like pyroutelib2 requires you to specify the transport type
when you first load the OSM data (LoadOsm::__init__ takes "transport"
as a parameter). So findNode will probably return a node that you can
travel from, because it only stored such nodes whilst loading the
On Mon, Feb 15, 2010 at 10:23 PM, Tareq Ismail
<hellotheretareq at gmail.com> wrote:
> I was wondering what the main differences between Pyroutelib
> http://svn.openstreetmap.org/applications/routing/pyroute/) and Pyroutelib2
> ( http://wiki.openstreetmap.org/wiki/Talk:PyrouteLib,
> http://svn.openstreetmap.org/applications/routing/pyroutelib2/) were and why
> the two exist.
> One would assume that Pyroutelib2 is more recent but I think it may not be.
> I noticed that the findNode method in loadOSM.py doesn't accept a travel
> type (car, cycle, etc) and that leads me to believe it may return a node
> that is not travel-able by a specific vehicle?
> Tareq Ismail
> dev mailing list
> dev at openstreetmap.org
More information about the dev