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

2013-07-18 Thread Michael Speth
Even wrote: I see that this projection was only introduced in PROJ 4.8.0, so check your PROJ.4 version. Markus is using Rev 2375 of the proj.4 upstream SVN with the scaling patch for HEALPix/rHEALPix applied from this patch. Thank you for your help! -- M

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

2013-07-18 Thread Markus Müller
Hi Evan, removing the '-I' parameter did the trick. For completeness sake, here the gdalwarp call that worked for me: gdalwarp -s_srs EPSG:26711 -t_srs '+proj=rhealpix +lon_0=0 +a=1 +ellps=WGS84 +npole=0 +spole=0 +wktext' ~/data/utm_orig.tif rhealpix.tif Thanks a lot for the help. Mar

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

2013-07-18 Thread Even Rouault
Le jeudi 18 juillet 2013 23:05:45, Markus Müller a écrit : > Hi Frank, > > thanks for the reply. I did as you suggested and gdalsrsinfo acts > accordingly. > > > >>> > gdalsrsinfo '+proj=rhealpix -I +lon_0=0 +a=1 +ellps=WGS84 +npole=0 +spole=0 > +wktext' > > > PROJ.4 : '+proj=rhealpix -I +lon_

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

2013-07-18 Thread Markus Müller
Hi Frank, thanks for the reply. I did as you suggested and gdalsrsinfo acts accordingly. >>> gdalsrsinfo '+proj=rhealpix -I +lon_0=0 +a=1 +ellps=WGS84 +npole=0 +spole=0 +wktext' PROJ.4 : '+proj=rhealpix -I +lon_0=0 +a=1 +ellps=WGS84 +npole=0 +spole=0 +wktext' OGC WKT : PROJCS["unnamed",

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] 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