[Qgis-developer] Is fastest (not shortest) path routing possible in PyQGIS

Anita Graser anitagraser at gmx.at
Sun Jul 20 12:53:29 PDT 2014


Hi Giovanni,
Would it be possible to add the speed properter? Or does it make more
sense to write new properters in python if that's possible?
Thanks and best wishes,
Anita

On Thu, Jul 17, 2014 at 7:02 PM, G. Allegri <giohappy at gmail.com> wrote:
> AFAICS onli the distance properter is exposed:
> https://github.com/qgis/QGIS/tree/master/python/analysis/network
>
> giovanni
>
> Il 17/lug/2014 18:53 "Anita Graser" <anitagraser at gmx.at> ha scritto:
>>
>> Hi,
>> The network analysis lib allows shortest path routing as documented in
>> the PyQGIS Cookbook and the API docs:
>> http://qgis.org/api/classQgsEdgeProperter.html
>> This page also lists a src/plugins/roadgraph/speedproperter.h which -
>> I assume - would enable fastest path routing. Is this class exposed to
>> Python?
>> Thanks and best wishes,
>> Anita
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list