Hi all,

I'm relatively new to GIS and I'm trying to read AML (S-57) data into
postgis. I'm trying the following:

ogr2ogr -f "PostgreSQL" PG:"host=localhost user=postgres dbname=aml
password=***" -append ***\***.000
(the ***s are replaced by the real values)

I'm getting warnings like:

Warning 1: Illegal feature attribute id (ATTF:ATTL[2]) of 20615 on
feature FIDN=2760, FIDS=1.
Skipping attribute, no more warnings will be issued.
Warning 1: Attributes INFORM ignored, not in expected schema.
No more warnings will be issued for this dataset.

The attribute for which the warnings are given vary from file to file.
Some files also give the following error:

ERROR 1: Invalid index : -1
(repeated many times)

I'm using FWTools Shell 2.4.7 on Windows and have been able to read
normal ENCs.

Does the S-57 driver automatically select the AML object classes and
attributes or should I do something? Any help is appreciated!

Best regards,
Bas Vermeulen


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to