Re: [gdal-dev] C# OGR and memoryproblems.

2008-10-10 Thread Tamas Szekeres
Johan, Assuming you don't use the open-shared option the destructor of the object should destroy the underlying dataset. For the garbage collected environments (like .NET) it would be reasonable to put this mechanism into an earlier method like Dispose, however it would require some further invest

[gdal-dev] Motion: Adopt GDAL 1.5.3RC1 as official 1.5.3 Release

2008-10-10 Thread Frank Warmerdam
Motion: Adopt GDAL 1.5.3RC1 as official 1.5.3 Release This vote should be open till late on Tuesday. Please vote or comment after you have had a chance to try the release candidate. Best regards, -- ---+-- I set the clouds

Re: [gdal-dev] Re: EASE-grid projection

2008-10-10 Thread Markus Neteler
Dan, Jose, On Fri, Oct 10, 2008 at 8:09 PM, Dan Stahlke <[EMAIL PROTECTED]> wrote: > Jose, > > The north pole version works for me, perhaps because of the '+init=' part: > (although that probably shouldn't matter...) > gdalwarp -t_srs '+init=epsg:3408' ... I wonder if this resolves http://trac.

Re: [gdal-dev] Re: EASE-grid projection

2008-10-10 Thread Dan Stahlke
Jose, The north pole version works for me, perhaps because of the '+init=' part: (although that probably shouldn't matter...) gdalwarp -t_srs '+init=epsg:3408' ... Maybe the equatorial version of EASE is different. If you are giving the full proj4 definition "+proj=cea ..." you might try a

RE: [gdal-dev] KML Parsing Performance

2008-10-10 Thread Christopher Condit
Hi Joel- >I'd like to know how I may get better performance reading a KML file.  I have >a >file with 9,640 points.  I've found that it takes about 16 seconds to read >>through the entire file (see the code snapshot below).  The exact same data >in >Shapefile format takes a second or less to rea

Re: [gdal-dev] gdalwarp - Invalid Tiled GTiff

2008-10-10 Thread Aaron Sutula
Hi Frank, I built the svn development version of gdal with all internal libraries and that did the trick; 1.5.2 still had the bug. Thanks for the help. Aaron Frank Warmerdam wrote: Aaron Sutula wrote: Hi List, I am attempting to create a mosaic of elevation data I have stored as a bunch o

Re: [gdal-dev] GDAL block cache question

2008-10-10 Thread Lucena, Ivan
Chris, > I doubt it -- at least not with raster data. A while back wx's vector > drawing was pretty limited (no alpha support), but it now has a better > drawing API, or you can use it with Agg or Cairo, or?? There may well be > other reasons to choose QT, but I doubt they are specific to Geos

[gdal-dev] Re: EASE-grid projection

2008-10-10 Thread Jose Gomez-Dans
Hi, I know it's unpolite to reply to self, but I think I might have cracked this one. Comments welcomed... 2008/10/10 Jose Gomez-Dans <[EMAIL PROTECTED]> > > $ gdalwarp --debug on -of GTiff -s_srs "+proj=cea +lat_0=0 +lon_0=0 > +lat_ts=30 +a=6371228.0 +units=m" -t_srs 'EPSG:4326' INPUT OUTPUT.ti

[gdal-dev] EASE-grid projection

2008-10-10 Thread Jose Gomez-Dans
Hi, I am trying to wrap some EASE-grid data from NSIDC for global datasets. NSIDC says it is based on the Cylindrical Equal Area, and they do provide both an EPSG code for it (3410), as well as a Proj string: "+proj=cea +lat_0=0 +lon_0=0 +lat_ts=30 +a=6371228.0 +units=m" (see < http://nsidc.org/da

Re: [gdal-dev] GDAL block cache question

2008-10-10 Thread Christopher Barker
Ivan Lucena wrote: Did you take a look at OSSIM? At some point in the past, they were wx-based, though I don't know what they are up to now. It seams like they switched to qt. I know it is possible to find a lot of references on the web where wx, qt, gtk, even Tcl/TK are compared. But I am wond

[gdal-dev] gdal and WMS

2008-10-10 Thread Chris Padwick
Hi, Can anyone shoot me a quick example of using gdal to access a WMS server? Can you use one of the command line utilities to handle the xml description file, or do you have to do it programmatically? My gdal dist is compiled with xerces and libcurl. I'm trying to use the example file

[gdal-dev] Release version of program crashes

2008-10-10 Thread Clay, Bruce
I have a GDAL / OGR based program that runs fine in debug mode on Windows XP compiles with Visual Studio 2005 but when I try to run in Release mode the program crashes. Information is hard to get in release modes as you know so the details I can provide are sketchy but I am hoping someone has seen

[gdal-dev] getRasterTable and back again to matrix

2008-10-10 Thread Michael ODonnell
I am using the getRasterTable to extract blocks of cell values from a raster dataset. After using this table to run statistical analysis, I would like to convert it back to a raster data set. To do this I am converting the table (predicted values) back to a matrix and then using putRasterData to

Re: [gdal-dev] [GDAL dev][GDALRasterBand::IReadBlock] About how to read all the raster bands.

2008-10-10 Thread Lucena, Ivan
Hi There, I am not quite sure that I understood your problem, but I am pretty sure that you can write whatever bock size you want. On the "GDAL implementation tutorial" [1] you should that especial attention to fill up those attributes: GDALDataset::nRasterXSize GDALDataset::nRasterYSize GDALR

[gdal-dev] Re: [GDAL] #2593: gdal_translate crashes with libecwj2-3.3 when creating files

2008-10-10 Thread Jean-Claude Repetto
#2593: gdal_translate crashes with libecwj2-3.3 when creating files -+-- Reporter: neteler |Owner: warmerdam Type: defect | Status: closed Priority: normal |Milestone: 1.5.3

[gdal-dev] Re: [GDAL] #2593: gdal_translate crashes with libecwj2-3.3 when creating files

2008-10-10 Thread Jean-Claude Repetto
Jean-Claude Repetto a écrit : I have tested 1.5.3RC1, it's OK in non-strict mode. But how to enable strict mode ? Sorry, I hadn't seen the "-strict" option. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

[gdal-dev] [GDAL dev][GDALRasterBand::IReadBlock] About how to read all the raster bands.

2008-10-10 Thread Cherif Oueslati
Hello, I am implementing a format specific driver to add new format. So i have to read raster bands from a file in addition of the metadata given in the header. The gdalinfo.exe is working effeciently, by using an OGRSpatialReference object. However i found a problem with the gdal_translate.exe