Re: [Qgis-developer] layer order

2013-12-05 Thread mmekuria
Open the project file and look for the list of layers. I think the order is based on how it is stored in the project file. Something must be happening while saving the project. - Maaza Christos, PhD www.Axumcorp.com -- View this message in context: http://osgeo-org.1560.x6.nabble.com/la

[Qgis-developer] C++ Plugins failing due to upgrade (missing what procedue)?

2013-12-05 Thread mmekuria
I am getting this error message with my C++ plugins and am wondering why? Can anyone help solve this puzzle? Is there any documentation that tells what has changed as far as plugins written in C++ for QGIS 2.0 to install them? It seems to me that there may be a procedure that it is lookign for in t

Re: [Qgis-developer] How to get feat.geometry() from SpatiaLite in pyQGis ?

2013-12-05 Thread mmekuria
Hi, Roberto: I think the query from layer.getFeatures() returns an iterator and that means you use the nextFeature(feat) to get the next feature until it fails to return a feature, then it means you have reached the end of the iterator list. iter = layer.getFeatures() while iter.nextFeature(feat)

[Qgis-developer] How to get feat.geometry() from SpatiaLite in pyQGis ?

2013-12-05 Thread Geo DrinX
Hello all, as in object, within pyQGis I need to read the geometry of a SpatiaLite vector layer. This is my source code: layer = iface.mapCanvas().currentLayer() iter = layer.getFeatures() for feat in iter: geom = feat.geometry() elem = geom.asPolyline() print("ELEM %s\n") %(elem)