[gdal-dev] Warnings and errors while reading AML to postgis with
bas.vermeulen at forcevision.nl
Fri Mar 2 08:01:27 EST 2012
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) 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
Does the S-57 driver automatically select the AML object classes and
attributes or should I do something? Any help is appreciated!
More information about the gdal-dev