Re: [gdal-dev] using gdalwarp with a new projection in proj.4

2013-07-16 Thread Frank Warmerdam
Michael, Healpix is not directly supported by OGRSpatialReference - the core of the coordinate system machinery for GDAL/OGR. However, you can request GDAL to treat this as a PROJ.4 extension to WKT by adding the +wktext flag. I would add that the -E and -f flags are options to the cs2cs command

[gdal-dev] intersection map of two maps

2013-07-16 Thread Ahmet Temiz
hello I have two raster map which have different extents. I want to create intersection map of two maps. what expression should I use ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Tem

Re: [gdal-dev] Can GDALCreate be Used for PNG?

2013-07-16 Thread Frank Warmerdam
Nik, No, the PNG format does not support direct creation, only creation by copying an existing dataset (GDALCreateCopy()). You can interactively see the capabilities of a driver like this: gdalinfo --format png Format Details: Short Name: PNG Long Name: Portable Network Graphics Extension:

[gdal-dev] Can GDALCreate be Used for PNG?

2013-07-16 Thread Nik Sands
Can I use GDALCreate to create (and later write to) PNG images? If so, is "PNG" the correct string for GDALGetDriverByName? Otherwise, can somebody please let me know why the code below returns NULL from GDALCreate (assigned to dstDS)? Advice much appreciated, as always. Thanks, Nik.

[gdal-dev] using gdalwarp with a new projection in proj.4

2013-07-16 Thread Michael Speth
Greetings, I am unable to use the HEALpix and rHEALPix projections which have been added about a year ago to proj.4 in gdalwarp. Is there a configuration file for gdal that needs to be updated for this projection? Here is the command in question that fails: gdalwarp -s_srs EPSG:26711 -t_srs

Re: [gdal-dev] ECW JPEG2000 SDK v5.0 now available

2013-07-16 Thread Even Rouault
> > Even, > > I see the ecw_29 test case your introduced in r26176 (for #4822) now fails. > The current results seem to supersample in a different way that GDAL > normally would - an off by a half issue that think is a reasonable > interpretation of how to supersample. Should the test be modifi

Re: [gdal-dev] installing GDAL with a custom installation of zlib

2013-07-16 Thread Even Rouault
Le mardi 16 juillet 2013 18:55:40, fred p a écrit : > Hello, > > On a Linux platform, I have two versions of zlib : > - the older version is installed with the system in /usr/lib64 > - the newer version is installed in a non standard directory > > I launch the configure tool with the appropriate

Re: [gdal-dev] gtiff with internal mask

2013-07-16 Thread Even Rouault
Le mardi 16 juillet 2013 12:29:37, Duarte Carreira a écrit : > I'm trying to create gtiffs with transparent areas where there are voids > between my original images. > > I have successfully done it by using an alpha band but this process created > 3x larger images. I think partly because of an add

[gdal-dev] installing GDAL with a custom installation of zlib

2013-07-16 Thread fred p
Hello, On a Linux platform, I have two versions of zlib : - the older version is installed with the system in /usr/lib64 - the newer version is installed in a non standard directory I launch the configure tool with the appropriate --with-zlib=/path/to/the/ newer/version/of/zlib When compiling, t

[gdal-dev] gtiff with internal mask

2013-07-16 Thread Duarte Carreira
I'm trying to create gtiffs with transparent areas where there are voids between my original images. I have successfully done it by using an alpha band but this process created 3x larger images. I think partly because of an additional 4th band and partly because I cannot use ycbcr to compress w

Re: [gdal-dev] Working with NTF files

2013-07-16 Thread Nikos Alexandris
Nikos A: > > No (except that I left this option as the "final attempt" of many tests -- > > working with some >1GB images here, so it took me hours... :D). Your > > confirmation, though, is highly useful! Eli Adam wrote: > Sometimes to avoid materializing large intermediate datasets on disk, a