Tag Info

New answers tagged


I know this is an old thread. But I recently had the pleasure of encountering the same problem! I tried the provided answer but it did not solve my problem. I was actually just not focusing. When I created the layers from SQl I used the attribute/metadata table instead of the tables that contained the geometry/features. Using the right data source fixed my ...


Your formatting looks wrong, because >>> field="field1" >>> '"{0}"'.format(field) '"field1"' This "{0}".format(field) will do. However fields=field is even better


I've had a similar problem, and it was caused by a corrupt shapefile (which appeared correct in all other aspects). You can test this with "Check Geometry Validity". Oops, sorry.... I see that you've already done that!

Top 50 recent answers are included