<p dir="ltr">I haven't tried but you should be able to define your properter on Python side, given that QgsArcProperter is exposed to it. </p>
<p dir="ltr">For a speed properter example you could take a look to the one implemented within the road graph plugin: <a href="https://github.com/qgis/QGIS/blob/master/src/plugins/roadgraph/speedproperter.cpp">https://github.com/qgis/QGIS/blob/master/src/plugins/roadgraph/speedproperter.cpp</a></p>

<p dir="ltr">giovanni</p>
<div class="gmail_quote">Il 20/lug/2014 21:53 "Anita Graser" <<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Giovanni,<br>
Would it be possible to add the speed properter? Or does it make more<br>
sense to write new properters in python if that's possible?<br>
Thanks and best wishes,<br>
Anita<br>
<br>
On Thu, Jul 17, 2014 at 7:02 PM, G. Allegri <<a href="mailto:giohappy@gmail.com">giohappy@gmail.com</a>> wrote:<br>
> AFAICS onli the distance properter is exposed:<br>
> <a href="https://github.com/qgis/QGIS/tree/master/python/analysis/network" target="_blank">https://github.com/qgis/QGIS/tree/master/python/analysis/network</a><br>
><br>
> giovanni<br>
><br>
> Il 17/lug/2014 18:53 "Anita Graser" <<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a>> ha scritto:<br>
>><br>
>> Hi,<br>
>> The network analysis lib allows shortest path routing as documented in<br>
>> the PyQGIS Cookbook and the API docs:<br>
>> <a href="http://qgis.org/api/classQgsEdgeProperter.html" target="_blank">http://qgis.org/api/classQgsEdgeProperter.html</a><br>
>> This page also lists a src/plugins/roadgraph/speedproperter.h which -<br>
>> I assume - would enable fastest path routing. Is this class exposed to<br>
>> Python?<br>
>> Thanks and best wishes,<br>
>> Anita<br>
>> _______________________________________________<br>
>> Qgis-developer mailing list<br>
>> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>