Re: [gdal-dev] Coding for appending to a database in OGR

2010-10-29 Thread Ragi Burhum
> > From: Peter J Halls > Subject: Re: [gdal-dev] Coding for appending to a database in OGR > To: Frank Warmerdam > Cc: gdal-dev@lists.osgeo.org > Message-ID: <4ccad1df.60...@york.ac.uk> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Thanks, Frank ... > > Frank Warmerdam wrote:

[gdal-dev] RE: ImportError with Python 2.6 and VS 2008

2010-10-29 Thread Gregory, Matthew
Hi again, > I apologize if this specific issue has been addressed before. I've > checked the listserve and didn't see anything right off. I'm sure I'm > doing something stupid ... Turns out I am an idiot in the most obvious way. I hadn't included gdal\bin in my PATH yet on my new system. I w

Re: [gdal-dev] _gdal_array not found

2010-10-29 Thread Christopher Barker
On 10/29/10 3:36 AM, Jorge Arévalo wrote: I find several files missing in the newer one (2.7). Files like "_gdal_array.py", "_gdal_array.pyc", "_gdalconst.py", "_gdal_array.so", "_gdalconst.so", "_gdal.py", "_gdal.pyc", "_gdal.so", and so on. All the missing files starting with "_" The newer ins

Re: [gdal-dev] Coding for appending to a database in OGR

2010-10-29 Thread Peter J Halls
Thanks, Frank ... Frank Warmerdam wrote: Peter J Halls wrote: Frank and team, having reviewed the code again and the comments made by others, for which thanks, it seems to me that there is a possible solution that might resolve all the concerns. I've asked my DBA for performance expecta

Re: [gdal-dev] Two OGR Driver questions: specifically OCI but really a general question

2010-10-29 Thread Peter J Halls
Frank, Frank Warmerdam wrote: Peter J Halls wrote: Dear Team, would someone please explain to me the purpose of the UnboundCreateFeature method? Within the OCI driver it does not appear that this method can ever get invoked: is it superseded by the BoundCreateFeature method? Second

Re: [gdal-dev] Two OGR Driver questions: specifically OCI but really a general question

2010-10-29 Thread Frank Warmerdam
Peter J Halls wrote: Dear Team, would someone please explain to me the purpose of the UnboundCreateFeature method? Within the OCI driver it does not appear that this method can ever get invoked: is it superseded by the BoundCreateFeature method? Secondly, the OCI driver BoundCreateFe

Re: [gdal-dev] Coding for appending to a database in OGR

2010-10-29 Thread Frank Warmerdam
Peter J Halls wrote: Frank and team, having reviewed the code again and the comments made by others, for which thanks, it seems to me that there is a possible solution that might resolve all the concerns. I've asked my DBA for performance expectation comments, but have not yet heard back

Re: [gdal-dev] _gdal_array not found

2010-10-29 Thread Jorge Arévalo
2010/10/29 Jorge Arévalo : > 2010/10/29 Even Rouault : >> Jorge, >> >> WriteArray() needs the gdal-numpy module to be built. So ensure you have >> numpy >> and numpy-devel packages installed (or whatever they are named on your >> distro) >> when rebuilding the GDAL python bindings. I guess you la

Re: [gdal-dev] _gdal_array not found

2010-10-29 Thread Jorge Arévalo
2010/10/29 Even Rouault : > Jorge, > > WriteArray() needs the gdal-numpy module to be built. So ensure you have numpy > and numpy-devel packages installed (or whatever they are named on your distro) > when rebuilding the GDAL python bindings. I guess you lack the numpy-devel > package that is neces

Re: [gdal-dev] Coding for appending to a database in OGR

2010-10-29 Thread Peter J Halls
Frank and team, having reviewed the code again and the comments made by others, for which thanks, it seems to me that there is a possible solution that might resolve all the concerns. I've asked my DBA for performance expectation comments, but have not yet heard back from him. Instead

Re: [gdal-dev] _gdal_array not found

2010-10-29 Thread Even Rouault
Jorge, WriteArray() needs the gdal-numpy module to be built. So ensure you have numpy and numpy-devel packages installed (or whatever they are named on your distro) when rebuilding the GDAL python bindings. I guess you lack the numpy-devel package that is necessary for building and probably not in

[gdal-dev] RE: Worldfile creation inconsistency with gdal_translate

2010-10-29 Thread NeilJ
How embarrassing. Thanks for your keen eyed assistance _ From: Michael Sumner-2 [via OSGeo.org] [mailto:ml-node+5685852-1135641362-298...@n2.nabble.com] Sent: 29 October 2010 11:14 To: NeilJ Subject: Re: Worldfile creation inconsistency with gdal_translate Try spelling the op

[gdal-dev] _gdal_array not found

2010-10-29 Thread Jorge Arévalo
Hi, I'm using Python 2.7, with GDAL 1.7.2 bindings. Piece of code: (...) dst_ds = raster.Create( tiff, tiff_width, tiff_height, 4, gdal.GDT_Byte) (...) zeros = numpy.zeros( (tiff_height, tiff_width), numpy.uint8 ) dst_ds.GetRasterBand(1).WriteArray( zeros ) (...) In the "WriteArray" line, I get

Re: [gdal-dev] Worldfile creation inconsistency with gdal_translate

2010-10-29 Thread Michael Sumner
Try spelling the option correctly (both in the argument and in your report): gdal_translate -of JPEG -co WORLDFILE=YES -a_srs EPSG:27700 HP40SE.tif F:\geo_streetview\jpg\HP40SE.jpg HTH On Fri, Oct 29, 2010 at 8:59 PM, NeilJ wrote: > > > > Please can someone explain to me why I get the message "

[gdal-dev] Worldfile creation inconsistency with gdal_translate

2010-10-29 Thread NeilJ
Please can someone explain to me why I get the message "Waring 6: Driver JPEG does not support WORDFILE creation option" when using gdal_translate on a windows command line (FW Tools 2.4.7), when running: gdal_translate -of JPEG -co WORDLFILE=YES -a_srs EPSG:27700 HP40SE.tif F:\geo_streetview\jp

[gdal-dev] Two OGR Driver questions: specifically OCI but really a general question

2010-10-29 Thread Peter J Halls
Dear Team, would someone please explain to me the purpose of the UnboundCreateFeature method? Within the OCI driver it does not appear that this method can ever get invoked: is it superseded by the BoundCreateFeature method? Secondly, the OCI driver BoundCreateFeature method appears to