[gdal-dev] Backward incompatible changes in the OGR style string format (r19724)

2010-09-18 Thread Tamas Szekeres
Hi All, There have been a backward incompatible change in r19724related to the OGR style string format. According to this change the separator in the feature style id has been changed from '.' to ',' Unfortunately such kind of changes may cause existing

Re: [gdal-dev] access multiple files with VRT

2010-09-18 Thread Even Rouault
Martin, I'm not sure how this would work. If you need to access each .bin file, you need a .vrt for each of them... Le samedi 18 septembre 2010 16:53:06, Matin80 a écrit : > Dear all, > > I have plenty of binary files which I access through a VRT file. This works > fine with the following lines

[gdal-dev] access multiple files with VRT

2010-09-18 Thread Matin80
Dear all, I have plenty of binary files which I access through a VRT file. This works fine with the following lines: 0,0.25,0,50, 0,-0.25 WGS84 3B42_daily.2009.01.01.6.bin MSB 0 4 5760 now my question: is it possible to access all ".bin" files in the s

Re: [gdal-dev] With Python bindings, should geometry objects created by ogr.Geometry() be explicitly destroyed?

2010-09-18 Thread Even Rouault
Le vendredi 17 septembre 2010 21:17:06, Jason Roberts a écrit : > (Just a side note: Another way that the GDAL Python bindings differ from > typical Python libraries is the need to call gdal.UseExceptions() to have > exceptions be raised when errors occur, Backward compatibility issue. Some existi

Re: [gdal-dev] Of errors and their treatment in bindings

2010-09-18 Thread Even Rouault
> > IMHO README.typemaps seems outdated and not even always used. For example: > > %typemap(out) (retStringAndCPLFree*) should be added and > Python uses > out (char **out_ppsz_and_free) > instead of > out (char **CSL) > which is mentioned in the README.typemaps My fault, I wasn't even aware tha

Re: [gdal-dev] Of errors and their treatment in bindings

2010-09-18 Thread Ari Jolma
On 09/18/2010 04:43 AM, Howard Butler wrote: On Sep 17, 2010, at 7:12 AM, Ari Jolma wrote: Folks, I added binding to VSIStatL (my idea is to start using ReadDir from GDAL and I need to know if something is a file or a directory). Why not use the more natural (to you the Perl progra

Re: [gdal-dev] Of errors and their treatment in bindings

2010-09-18 Thread Ari Jolma
On 09/18/2010 04:43 AM, Howard Butler wrote: On Sep 17, 2010, at 7:12 AM, Ari Jolma wrote: Folks, I added binding to VSIStatL (my idea is to start using ReadDir from GDAL and I need to know if something is a file or a directory). Why not use the more natural (to you the Perl progra

Re: [gdal-dev] With Python bindings, should geometry objects created by ogr.Geometry() be explicitly destroyed?

2010-09-18 Thread Even Rouault
Jason, > I have some Python code that uses OGR geometry objects internally, creating > them like this: > > > > point = ogr.Geometry(ogr.wkbPoint) > > > > Does this code need to explicitly destroy these geometries, like the > following, to avoid leaks, or can it simply allow them to go out of