Dear list,<div>(PREFACE: I was looking for a *gdal-users* list but I could see it does not exists; I hope I am in the right place)</div><div><div><div><br></div><div>I started playing with the relatively new /gdalsrsinfo/ utility for forward/backward translation to GML-based definitions of CRS.</div>
<div>I am trying to first get my XML definition from a proj4 string, then getting it back from the XML definition itself:</div><div><br></div><div>$ gdalsrsinfo -o xml 'gdalsrsinfo -o xml '+proj=utm +a=3396190 +no_defs +rf=200' > /tmp/test1</div>
<div>$ gdalsrsinfo -o proj4 /tmp/test1</div><div><br></div><div>But I often cannot get GDAL to recognize the XML definition produced by the gdalsrsinfo utility.</div></div></div><div>As an example I take a proj4 string offered as example in the PROJ4 FAQ page:</div>
<div><br></div><div>$ gdalsrsinfo -o xml '+proj=laea +lon_0=-40.000000 +lat_0=74.000000 +x_0=1000000 +y_0=1700000 +a=2000000 +b=2000000'  > /tmp/test1</div><div>$ gdalsrsinfo -o proj4 /tmp/test1</div><div>ERROR 1: ERROR - failed to load SRS definition from /tmp/test1</div>
<div><br></div><div>Any hint about the source of error?</div><div>Is there some restriction on the CRS definition in the XML form or am I missing some parameter or is this a bug in the utility?</div><div><br></div><div>Cheers,</div>
<div>Piero</div><div><br></div>