<div dir="ltr">The problem was solved installing <span style="font-family:arial,sans-serif;font-size:13px">libgeotiff-epsg. I did the following:</span><div><font face="arial, sans-serif"><br></font><div><span style="font-family:arial,sans-serif;font-size:13px">sudo apt-get install libgeotiff-epsg</span><br>
</div></div><div><br></div><div>After doing that everything worked as expected.</div><div><br></div><div>Thanks Carl and Frank for your help.</div><div><br></div><div>Best regards,</div><div>Daniel.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 10:15 PM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Daniel,<br>
<br>
This is likely due to problems looking up the coordinate system.  If<br>
you built and installed GDAL yourself it will likely be looking in<br>
/usr/local/share/gdal/data for the file pcs.csv.  If you installed it<br>
via apt-get then it should be looking in /usr/share/gdal/data (or<br>
perhaps /usr/share/gdal/data/1.10) for the file.<br>
<br>
So, step one is to confirm that the pcs.csv file exists in one of<br>
those locations.  If GDAL is looking in the wrong place for the file,<br>
setting the GDAL_DATA environment variable may help.<br>
<br>
ie.<br>
export GDAL_DATA=/usr/local/share/gdal/data<br>
gdalinfo abc.tif<br>
<br>
It is also possible that the GDAL GeoTIFF driver actually needs the<br>
libgeotiff support csv files which would normally live somewhere like<br>
/usr/share/epsg_csv and key files would have names like<br>
coordinate_reference_system.csv.<br>
<br>
Best regards,<br>
Frank<br>
<div class="im HOEnZb"><br>
<br>
On Wed, Oct 2, 2013 at 2:29 PM, Daniel Testa<br>
<<a href="mailto:danieltesta@suremptec.com.ar">danieltesta@suremptec.com.ar</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> Hello everyone, I´m experiencing a weird behavior when reading a raster<br>
> image (GTiff/GeoTIFF)<br>
><br>
> I'm using GDAL 1.9.1 for Linux (Ubuntu 12.04 LTS) and Windows (Win 7<br>
> Ultimate SP1) to open a raster image with EPSG:22194<br>
><br>
> Sample output from gdalinfo for that image on Windows (WKT):<br>
> [...]<br>
> PROJCS["Campo Inchauspe / Argentina 4",<br>
>     GEOGCS["Campo Inchauspe",<br>
>         DATUM["Campo_Inchauspe",<br>
>             SPHEROID["International 1924",6378388,297.000000000005,<br>
>                 AUTHORITY["EPSG","7022"]],<br>
>             AUTHORITY["EPSG","6221"]],<br>
>         PRIMEM["Greenwich",0],<br>
>         UNIT["degree",0.0174532925199433],<br>
>         AUTHORITY["EPSG","4221"]],<br>
>     PROJECTION["Transverse_Mercator"],<br>
>     PARAMETER["latitude_of_origin",-90],<br>
>     PARAMETER["central_meridian",-63],<br>
>     PARAMETER["scale_factor",1],<br>
>     PARAMETER["false_easting",4500000],<br>
>     PARAMETER["false_northing",0],<br>
>     UNIT["metre",1,<br>
>         AUTHORITY["EPSG","9001"]],<br>
>     AUTHORITY["EPSG","22194"]]<br>
> [...]<br>
><br>
> Now the output from gdalinfo for the same image on Linux (WKT):<br>
> [...]<br>
> LOCAL_CS["Campo Inchauspe / Argentina 4",<br>
>     GEOGCS["Campo Inchauspe",<br>
>         DATUM["unknown",<br>
>             SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],<br>
>         PRIMEM["Greenwich",0],<br>
>         UNIT["degree",0.0174532925199433]],<br>
>         AUTHORITY["EPSG","22194"],<br>
>     UNIT["metre",1]]<br>
> [...]<br>
><br>
> Any idea of why this might be happening? it also happens with EPSG:22184<br>
><br>
> Any idea, suggestion or comment is very welcome :)<br>
><br>
> Thanks in advance.<br>
><br>
> Regards,<br>
> Daniel.<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Software Developer<br>
</font></span></blockquote></div><br></div>