[gdal-dev] Re: OGR to access s57 file, missing attributes issue

2011-11-07 Thread sjtuDNA
Finally I got whats wrong with my code. The problem is : The S-57 reader depends on having two supporting files, s57objectclasses.csv, and s57attributes.csv available at runtime in order to translate features in an object class specific manner. These should be in the directory pointed to by the e

Re: [gdal-dev] Aster tif files to hgt

2011-11-07 Thread Jaromír Mikeš
> Od: Jaromír Mikeš > gdal_translate -of SRTMHGT ${tile}.tif ${tile}.hgt > > Warning 1: The corner coordinates of the source are not properly aligned on > plain latitude/longitude boundaries. > ERROR 1: Image dimensions should be 1201x1201 or 3601x3601. $ gdalwarp -of GTiff -srcnodata 32767 -t_s

Re: [gdal-dev] Aster tif files to hgt

2011-11-07 Thread Jaromír Mikeš
> Od: Scott Arko Hello Scott, > To resample your data, you will need to call gdalwarp with the -tr option. > This is specified in whatever the native units are for your projection. > In the case of UTM, meters. So, something like: > > gdalwarp -of SRTMHGT -tr 30 30 -r bilinear input.hgt outp

Re: Re: [gdal-dev] Aster tif files to hgt

2011-11-07 Thread Jaromír Mikeš
Od: Hermann Peifer >> Od: Jaromír Mikeš > Now I need resample files from 1 arc-second (30m) resolution to 3 arc-second (90m). > Can this be done with gdal? Did you try an Internet search with "gdal resample" as search words? Hello Hermann, I found this example while ago: http://wiki.o

Re: [gdal-dev] Re: JP2KAK Resilience Mode

2011-11-07 Thread Frank Warmerdam
Jukka, It can be fairly challenging to build the JP2KAK driver, particularly on Windows and with it being distinctly not open source it is hard for me to distribute binaries. I have made a calendar item for myself tonight to backport the fixes to 1.8 and to build a JP2KAK plugin I can privately d

[gdal-dev] Re: JP2KAK Resilience Mode

2011-11-07 Thread Jukka Rahkonen
Frank Warmerdam pobox.com> writes: > > Folks, > > If you never use the JP2KAK driver you can stop reading now. What is the method for us poor Windows users for getting JP2KAK support nowadays? We have a license and Kakadu SDK but no tools nor knowledge for doing anything difficult. However, we

Re: [gdal-dev] add tranperency

2011-11-07 Thread Travis Kirstine
Jan, You may have some difficulties with creating a ECW output format with gdalwarp, I would try GeoTiff first. Also 3 band ECW have issues with creation of compression artifacts in nodata areas so translating the GeoTiff to ECW may not work as expected. Regards On 7 November 2011 13:36, Chaita

[gdal-dev] JP2KAK Resilience Mode

2011-11-07 Thread Frank Warmerdam
Folks, If you never use the JP2KAK driver you can stop reading now. >From time to time over the years I and others have had problems reading some JPEG2000 files with the JP2KAK driver. In some cases the same files would work fine with the JP2ECW driver or with other JPEG2000 products. This issu

Re: [gdal-dev] add tranperency

2011-11-07 Thread Chaitanya kumar CH
Jan, You can use the -srcnodata and -dstalpha options of gdalwarp[1] to set nodata values and create an alpha band to the image. You will have to give the value of the black borders with the -srcnodata option. [1]: http://www.gdal.org/gdalwarp.html On Mon, Nov 7, 2011 at 5:33 PM, Jan Tappenbeck

Re: [gdal-dev] Aster tif files to hgt

2011-11-07 Thread Jaromír Mikeš
> Od: Jaromír Mikeš Hi list > > gdal_translate -of SRTMHGT input.tif output.hgt Now I need resample files from 1 arc-second (30m) resolution to 3 arc-second (90m). Can this be done with gdal? best regards mira ___ gdal-dev mailing list gdal-dev@lis

[gdal-dev] add tranperency

2011-11-07 Thread Jan Tappenbeck
Hi ! i have a image with following data: C:\Program Files (x86)\FWTools2.4.7>gdalinfo "[Path]\trans_a.tif" Driver: GTiff/GeoTIFF Files: D:\brumi\VG_Bruchmuehlbach-Miesau_DOP\geotiff\trans_a.tif Size is 10390, 10390 Coordinate System is: PROJCS["DHDN / 3-degree Gauss-Kruger zone 2", GEOGCS