Re: [gdal-dev] gdal error 4

2008-09-24 Thread Frank Warmerdam
sigmazero13 wrote: I've had the same problem with another .tif file on my machine, too. I checked the permissions, and it's readable by owner, group, and world, so I'm not sure what else to try. When I do a gdalinfo --formats, though, there is a GTiff format, but nothing for just TIF. I'm not

[gdal-dev] question

2008-09-24 Thread liu_daojie
hello: here I have a question in wince you use the same lib and include as in vc6.0 ? or others ? can you list them?the method is same in wince as in vc6 to open image(tiff)? thanks liudaojie ___ gdal-dev mailing list gdal-dev@lists.osgeo.or

Re: [gdal-dev] copy GCPs from .xml to GTiff

2008-09-24 Thread Brent Fraser
Shawn, I had a similar need some time ago. I hacked gdalinfo to output only the GCPs in a GDAL-friendly format (one "-GCP Pixel Line X Y" per line) and redirected the results to a text file of command-line options: my_gdalinfo file1.tif > file1_gcps.opt Then attached them to my othe

[gdal-dev] copy GCPs from .xml to GTiff

2008-09-24 Thread Gong, Shawn (Contractor)
Hi list, I have two Radarsat-2 files File A: product.xml File B: single channel GTiff I am looking for a simple way to copy file A's GCPs and GCP Projection to file B, delete 4 existing GCPs in file B, and resave (as GTiff). Basically replacing the below Blue text with Red text.

[gdal-dev] Out of Office

2008-09-24 Thread paar
Vielen Dank für Ihre Nachricht. Ich bin bis einschließlich 26.09.2008 nicht im Büro und kann Ihre Anfrage leider nicht bearbeiten. Ihre Nachricht wird nicht automatisch weitergeleitet. Ich werde Ihre eMail gerne nach meiner Rückkehr beantworten. Thank you very much for your message. I'm out of

Re: [gdal-dev] gdal error 4

2008-09-24 Thread sigmazero13
I've had the same problem with another .tif file on my machine, too. I checked the permissions, and it's readable by owner, group, and world, so I'm not sure what else to try. When I do a gdalinfo --formats, though, there is a GTiff format, but nothing for just TIF. I'm not sure what might be w

[gdal-dev] can't derive the projection for a geotiff in Guatemala

2008-09-24 Thread John Mitchell
Hi, I am having difficulty deriving the EPSG code/projection/Coordinate System for a geotiff in Guatemala. Any help would be appreciated. Below is the gdalinfo listing: Driver: GTiff/GeoTIFF Size is 11214, 7860 Coordinate System is `' Origin = (317049.000,1659460.000) Pi

Re: [gdal-dev] shapefile field size

2008-09-24 Thread Even Rouault
A quick reading of your issue let me think you're hitting the "well-known" and still unresolved issue, reported as http://trac.osgeo.org/gdal/ticket/2286 Le Wednesday 24 September 2008 21:14:11 Clay, Bruce, vous avez écrit : > Follow on to earlier message. > > > > I removed the SetLength and SetP

RE: [gdal-dev] shapefile field size

2008-09-24 Thread Clay, Bruce
Follow on to earlier message. I removed the SetLength and SetPrecision from the field specification and things are working now. ArcMap thinks the integer fields are Doubles with length of 11 and precision of 11 but the values do not appear to be truncated so that is a good thing It just se

[gdal-dev] shapefile field size

2008-09-24 Thread Clay, Bruce
I have an OGR based application that I am having problems with data storage Several fields are OFTInteger and several are OFTReal When I write a dataset using the OCI driver the integer fields all store valid information. When I write a dataset using the Shapefile driver the integer fie

Re: [gdal-dev] mask bands howto

2008-09-24 Thread Even Rouault
You can also take inspiration from the python autotest suite : http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/mask.py Le Wednesday 24 September 2008 16:37:27 Vincent Schut, vous avez écrit : > Hi, > > is there any up-to-date documentation/tutorial available on the recently > added mask b

Re: [gdal-dev] mask bands howto

2008-09-24 Thread Frank Warmerdam
Vincent Schut wrote: Hi, is there any up-to-date documentation/tutorial available on the recently added mask bands feature? I found http://trac.osgeo.org/gdal/wiki/rfc15_nodatabitmask, but I was hoping more on something like an api tutorial. The doxygen generated stuff all is empty for mask

[gdal-dev] mask bands howto

2008-09-24 Thread Vincent Schut
Hi, is there any up-to-date documentation/tutorial available on the recently added mask bands feature? I found http://trac.osgeo.org/gdal/wiki/rfc15_nodatabitmask, but I was hoping more on something like an api tutorial. The doxygen generated stuff all is empty for mask related functions...

Re: [gdal-dev] Reading/Interpreting multi band Tiffs

2008-09-24 Thread Tom Kazimiers
Frank Warmerdam schrieb: > Tom Kazimiers wrote: >>> There is also a RasterIO() method on the Dataset which allows >>> fetching all the bands in one request. In C++ this is: >>> >>> http://www.gdal.org/classGDALDataset.html#e077c53268d2272eebed10b891a05743 >>> > >> thank you very much - this was wh