[gdal-dev] Non documented (nice, uf) behaviour

Joaquim Luis jluis at ualg.pt
Tue Jan 27 11:34:05 EST 2009


Hi,

Still on the ps2raster issue that I mentioned 2 days ago, I was getting a mysterious crashing
in Windows when executing a system call with a gdal_translate command. The is not related to
GDAL at all but maybe to the quotes needed to wrap the +proj=... arguments.
I finally managed to solve the issue by writing the proj string into a file and use that
file as argument to -a_srs

But the man page states that " ... or a file WKT"

-a_srs srs_def:
Override the projection for the output file. The srs_def may be any of the usual GDAL/OGR forms, complete WKT, PROJ.4, EPSG:n or a file containing the 
WKT.


I'm not complaining (well on the contrary), but we may need to document this.
Since what version is it possible to provide a Proj4 string in a file for -a_srs?

(I'm using the GDAL trunk)

Thanks

Joaquim Luis


More information about the gdal-dev mailing list