Re: [Gdal-dev] gdal_translate .tif to .ecw

2010-01-17 Thread jjknoops
Hi Guido, Try changing "%f.ecw" to"%~n1.ecw" Jaap -Original Message- From: gpsguido To: gdal-dev@lists.osgeo.org Sent: Fri, Jan 15, 2010 3:33 pm Subject: [Gdal-dev] gdal_translate .tif to .ecw I want to convert .tif to .ecw . I use FWtools shell. Would like to run it in

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

2010-01-17 Thread Even Rouault
Roald, You should try using transactions as suggested on IRC. This does make a lot of difference for SQLite. if 'lyr' is the Python object for your SQLite layer : lyr.StartTransaction() ... insert features lyr.CommitTransaction() Best regards, Even Le Monday 18 January 2010 06:32:47 R

[gdal-dev] Writing to SQLite is very slow

2010-01-17 Thread Roald de Wit
Hi list, Whilst trying to mimic ogr2ogr functionality in Python, I stumbled upon an issue with writing to SQLite: it works, but it's painfully slow (minutes instead of seconds). The link below points to an example that can be used for reproducing the behaviour: http://rdewit.pastebin.com/f7

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

2010-01-17 Thread Mateusz Loskot
Jan Hartmann wrote: > On 16-1-2010 16:03, Mateusz Loskot wrote: >> Jan Hartmann wrote: >> >>> Yes, that is clear, thanks. I see that at the moment only raster files >>> are supported. >>> Would it make sense to do this for vector formats too? >>> >> The VSI layer is available to all parts

[gdal-dev] OGR ArcObjects driver

2010-01-17 Thread Ragi Y. Burhum
I changed the subject, since we were getting out of topic. Answers inline. On Thu, Jan 14, 2010 at 6:40 AM, Jason Roberts wrote: > Ragi, > > > > Nicely done. That is pretty funny. I'm sure there's a few others lurking on > the list who have thought of such a thing as well. Could you please send