Hi Frank,<br>Thanks a lot. The GDAL_DATA just as you told was pointing to a wrong directory..<br>I dont remember setting an environment variable though.<br><br>Thanks again :)<br><br><div><span class="gmail_quote">On 6/28/07,
<b class="gmail_sendername">Frank Warmerdam</b> <<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
kevser sonmez wrote:<br>> Hi there,<br>> I was using ogrinfo.exe without problem yesterday, but today something<br>> has happened (as far as I remember I just moved some locations of the<br>> files), when I call for an enc-s57 data to look for the naming info of
<br>> layers with ogrinfo; it always returns of 5 layers like Point, Line,<br>> Area... regardless of the data? Yesterday I could be able to get the<br>> specific names from the IHO Object Catalogue; like ADMARE, DEPARE ...
<br>> What do you think may have happened, related with this Object Catalogue?<br><br>Kevser,<br><br>In order to represent object classes properly the OGR S-57 driver needs<br>access to the various object catalog files such as
s57objectclasses.csv.<br>These are normally found in gdal/data in the source. On windows systems<br>you normally have to set the GDAL_DATA environment variable to point to the<br>directory where these are found. On Unix this isn't necessary if they
<br>are installed in the standard location (/usr/local/share/gdal).<br><br>I don't know if you are using FWTools, but if you are it sets up various<br>paths at install time, and you can't move things afterwards without fixing
<br>this up or some things won't work right.<br><br>Best regards,<br>--<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">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush | President OSGeo, <a href="http://osgeo.org">
http://osgeo.org</a><br><br></blockquote></div><br>