use in that case:

feature.geometry().asMultiPolyline()


http://qgis.osgeo.org/api/classQgsGeometry.html#a34cd2f4773f99402fdeb4a9874804895



On 22-04-17 11:02, [email protected] wrote:
Hi

i would like to add that i have found out, that all other are LineString
but this
one is MultiLineString

see the screen



thx


On 22. Apr. 2017, 10:42 +0200, [email protected], wrote:
Hello

i have several map supplier loaded to my QGIS and check them through.
Except one al bringing back the Polyline  with the command

feature.geometry().asPolyline()

But one just results in []

Now i am struggling how to debug the best or what could be the reason
for ;-)

thx
pat



_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


--
Terglobo
Fahrenheitstraat 1
5223 BJ 's-Hertogenbosch
06 25 31 49 83
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to