On 7 June 2017 at 06:18, johnrobot <johnro...@gmail.com> wrote: > Hi > I had a look at the python examples at > http://www.qgistutorials.com/en/docs/getting_started_with_pyqgis.html. I > noticed that when I run > > layer = iface.activeLayer() > for f in layer.getFeatures(): > print geom.asPoint() > > QGIS crashes and creates a dump file. Is this a known issue? Running >
Where's geom set here? Can you show the rest of your code? Nyall _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user