On dimanche 27 août 2017 00:02:35 CEST Joaquim Luis wrote:
> >> gdaltransform -s_srs EPSG:4326 -t_srs +proj=bonne
> >> 
> >> 
> >> 
> >> ERROR 6: Failed to initialize PROJ.4 with `+proj=bonne +lon_0=0 +lat_1=0
> >> 
> >> 
> >> 
> >> +x_0=0 +y_0=0 +ellps=WGS84 +units=m +no_defs'.
> > 
> > I thing the issue is that lat_1=0 is invalid for bonne. Any non zero
> > value is OK
> 
> Sorry Even, but it still fails
> 
> gdaltransform -s_srs EPSG:4326 -t_srs "+proj=bonne +lat_0=1 +wktext"
> ERROR 6: Failed to initialize PROJ.4 with `+proj=bonne +lat_0=1 +wktext'.

It is lat_1 which must be non zero.

> 
> And I'm facing some other issues with the +wktext.
> 
> This GMT using proj.4 via GDAL, and it works.
> 
> grdproject lixo.grd -J+proj=sinu -Glixo2.grd
> 
> but adding +wktext makes it fail in GDAL
> 
> grdproject lixo.grd -J"+proj=sinu +wktext" -Glixo2.grd
> ERROR 6: Failed to initialize PROJ.4 with `+proj=sinu +wktext'

Perhaps due to the lack of datum/ellipsoid, if you don't have a proj_def.dat 
file that will 
contain the implicit one

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to