Bas,<br><br>While the FWTools package for Windows is easier to install, it is very old. Use the GDAL binaries from the OSGeo4W installer to rule out any bugs that are already fixed.<br><br>According to your first error report, the s57attributes CSV file has a missing attribute entry. Check if that csv file has an entry with the first column <br>
is 20615.<br><br>Other than that there is little I can help.<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 6:31 PM, Bas Vermeulen <span dir="ltr">&lt;<a href="mailto:bas.vermeulen@forcevision.nl">bas.vermeulen@forcevision.nl</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I&#39;m relatively new to GIS and I&#39;m trying to read AML (S-57) data into<br>
postgis. I&#39;m trying the following:<br>
<br>
ogr2ogr -f &quot;PostgreSQL&quot; PG:&quot;host=localhost user=postgres dbname=aml<br>
password=***&quot; -append ***\***.000<br>
(the ***s are replaced by the real values)<br>
<br>
I&#39;m getting warnings like:<br>
<br>
Warning 1: Illegal feature attribute id (ATTF:ATTL[2]) of 20615 on<br>
feature FIDN=2760, FIDS=1.<br>
Skipping attribute, no more warnings will be issued.<br>
Warning 1: Attributes INFORM ignored, not in expected schema.<br>
No more warnings will be issued for this dataset.<br>
<br>
The attribute for which the warnings are given vary from file to file.<br>
Some files also give the following error:<br>
<br>
ERROR 1: Invalid index : -1<br>
(repeated many times)<br>
<br>
I&#39;m using FWTools Shell 2.4.7 on Windows and have been able to read<br>
normal ENCs.<br>
<br>
Does the S-57 driver automatically select the AML object classes and<br>
attributes or should I do something? Any help is appreciated!<br>
<br>
Best regards,<br>
Bas Vermeulen<br>
<br>
<br>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>