Re: [gdal-dev] Open source vector geoprocessing libraries?

2010-01-18 Thread Jan Hartmann
On 17-1-2010 22:02, Mateusz Loskot wrote: Does that mean that I can use ogrinfo on a gzipped archive, like gdalinfo (http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip)? Yes, it does but...as long as OGR driver performs filesystem operations using VSI*L API. The problem is that only

Re: [gdal-dev] Writing to SQLite is very slow

2010-01-18 Thread Roald de Wit
Hi Even, Thanks for this. Crschmidt *did* mention the transactions and I guess it would work if I were to create an empty layer and walk through the features one by one. I was hoping to use the 'CopyLayer' method of a DataSource (for simplicity's sake). It seems that you can provide options

Re: [gdal-dev] Writing to SQLite is very slow

2010-01-18 Thread Frank Warmerdam
Roald de Wit wrote: Hi Even, Thanks for this. Crschmidt *did* mention the transactions and I guess it would work if I were to create an empty layer and walk through the features one by one. I was hoping to use the 'CopyLayer' method of a DataSource (for simplicity's sake). It seems that you

Re: [gdal-dev] Motion: Paid Maintainer Contract with Chaitanya

2010-01-18 Thread Frank Warmerdam
Frank Warmerdam wrote: Motion: Frank Warmerdam is authorized to negotiate a paid maintainer contract with Chaitanya Kumar CH for up to $9360 USD at $13USD/hr over six months, and would be acting as supervisor, operating under the terms of RFC 9 (GDAL Paid Maintainer Guidelines). Folks, I

Re: [gdal-dev] Writing to SQLite is very slow

2010-01-18 Thread Roald de Wit
On 19/01/10 01:23, Frank Warmerdam wrote: Roald, Would you mind filing a ticket on this? I think the CopyLayer() method ought to use transactions in a manner similar to ogr2ogr. Best regards, Hi Frank, Done: http://trac.osgeo.org/gdal/ticket/3335 Thanks, Roald

[gdal-dev] Using RasterIO in Python to crop images

2010-01-18 Thread Roger André
Hi all, I'd like to do some cropping based on pixel coordinates in a script I'm writing. I'm familiar with using the srcwin option to gdal_translate, but have not done this using the API before. Reading the API docs and some of the previous postings to this list, it appears that the RasterIO