Bo Victor Thomsen wrote
> # Experiment for getting spatial index. Tried with 1, True ...
> options = {}
> options['spatial_index'] = 'on'

Hi Bo Victor,
AFAIK it should be:

options = {}
options['layerOptions'] = ['SPATIAL_INDEX=YES']

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to