FW: [gdal-dev] Shapefile read/write
Frank Warmerdam
warmerdam at pobox.com
Tue Dec 4 10:09:03 EST 2007
Mullins, Steven wrote:
> Thanks again. I inserted data_source.SyncToDisk() just before the data_source.Destroy() and got the following message at run-time:
>
> Traceback (most recent call last):
> File "test.py", line 38, in ?
> data_source.SyncToDisk()
> AttributeError: DataSource instance has no attribute 'SyncToDisk'
>
> Is SyncToDisk() supported in Python?
Steven,
SyncToDisk() is a method on the layer, not the datasource.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list