Good morning!

When trying to get the file's location from a vector layer likes this:
layer.dataProvider().dataSourceUri()

I get this:
/path/to/file/layer.shp|layerid=0

Why is there a pipe after the url?

Cheers
Philipp

Qgis 2.12.1
OS X 10.11.3
_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to