[gdal-dev] GDAL/OGR 1.8.1 Release Candidate

2011-07-05 Thread Frank Warmerdam
Folks, I have prepared a release candidate for an RC1 release. It can be found at: http://download.osgeo.org/gdal/gdal-1.8.1RC1.tar.gz http://download.osgeo.org/gdal/gdal181RC1.zip The NEWS file can be reviewed at: http://svn.osgeo.org/gdal/branches/1.8/gdal/NEWS Best regards, --

Re: [gdal-dev] Creating modified copies of a file

2011-07-05 Thread Even Rouault
Le mercredi 06 juillet 2011 00:26:06, Cole, Derek a écrit : > Just as an interesting side-note: I tried to do a CreateCopy on one of > these files that was 7GB. Using CreateCopy() it took almost 2 hours. When > I simply copied to file contents using a cp command (this is CentOS), the > copy takes a

RE: [gdal-dev] Creating modified copies of a file

2011-07-05 Thread Cole, Derek
Just as an interesting side-note: I tried to do a CreateCopy on one of these files that was 7GB. Using CreateCopy() it took almost 2 hours. When I simply copied to file contents using a cp command (this is CentOS), the copy takes about a minute. I am not sure why that is so terribly slow in GDAL

Re: [gdal-dev] Assigning affine matrix coefficients for a new driver.

2011-07-05 Thread Chaitanya kumar CH
Rodolfo, I don't remember how to choose the matrix to be inverted here. However you can read about GDAL's affine transformation coefficients in the documentation for GDALDataset::GetGeoTransform() [1]. You can also find relevant info at the GDAL Data Model page [2]. [1]: http://www.gdal.org/class

[gdal-dev] Assigning affine matrix coefficients for a new driver.

2011-07-05 Thread Rodolfo Bonnin
Hello All, I'm working on a new PRISM driver, and it can now read the rasterbands from all products. Now I'm working on reading the georeferencing data, and trying to set the affine matrix coefficients. The format specification* says in page 53 for one of the map projection fields: Field No 58

Re: [gdal-dev] Creating modified copies of a file

2011-07-05 Thread Even Rouault
Le mardi 05 juillet 2011 19:55:21, Cole, Derek a écrit : > Right, I can do this for my already opened and read-from data set. However, > I want to have a separate file. This means I have to copy that original > data set, right? I can't seem to figure out how to copy a data set without > actually co

RE: [gdal-dev] Creating modified copies of a file

2011-07-05 Thread Cole, Derek
Right, I can do this for my already opened and read-from data set. However, I want to have a separate file. This means I have to copy that original data set, right? I can't seem to figure out how to copy a data set without actually copying the raster data (which is huge in comparison to the meta

Re: [gdal-dev] Creating modified copies of a file

2011-07-05 Thread Chaitanya kumar CH
Derek, Writing into a raster band is a lot like reading into it. Use the function you use to read the pixels to write the pixels back. Don't forget to close the dataset at the end using GDALClose() [1]. Also, check out the GDALFlushCache() and similar functions in [2]. [1]: http://www.gdal.org/gd

[gdal-dev] Creating modified copies of a file

2011-07-05 Thread Cole, Derek
Hello, I think I started to ask about this before on this forum, but I have since used GDAL a bit more and might be better to generate a new thread. I have been using GDAL to read in NITF files, getting the RasterBand data, and manipulating it, and displaying the results in my viewer. Now, I w

RE: [gdal-dev] OGR : OCI driver improvement

2011-07-05 Thread Nicolas Simon
Ivan, Your suggestion represents a lot of work, but it's interesting. I think, I'll use the existing code unless I feel blocked with it. Regards Nicolas > -Message d'origine- > De : Ivan Lucena [mailto:ivan.luc...@pmldnet.com] > Envoyé : lund