[gdal-dev] extract wtwdis and unlocd with distance marks from IENC
Wulf
gdal-dev at coulmann.de
Thu Dec 12 11:25:15 PST 2019
Hi Lars,
thanks for the hint.
> Have tried the inland water profile? This is how i did it in the past.
> This is a config for ogrinfo or ogr2ogr.
>
> --config S57_PROFILE iw
I try to find where the docs describe this, but didn't.
I'm sure it's my wrong usage, but I do not know how to figure out.
> Good luck
still there is no wtwdis or unlocd
I run
------
ogrinfo -al --config S57_PROFILE iw 1W7ML310.000 POINT
Warning 6: 'ON#' is an unexpected value for RETURN_PRIMITIVES open option of type boolean.
Warning 6: 'ON#' is an unexpected value for RETURN_LINKAGES open option of type boolean.
Warning 6: driver S57 does not support open option RETURN_TXTDSC
Warning 6: driver S57 does not support open option RETURN_INFORM
Warning 6: driver S57 does not support open option RETURN_NINFORM
Warning 6: driver S57 does not support open option RETURN_NOBJNM
Warning 6: driver S57 does not support open option RETURN_OBJNAM
Warning 6: driver S57 does not support open option RETURN_NTXTDS
INFO: Open of `1W7ML310.000'
using driver `S57' successful.
Layer name: Point
Geometry: Point
Feature Count: 0
Extent: (11.497309, 52.187832) - (11.647561, 52.275467)
Layer SRS WKT:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]]
RCID: Integer (10.0)
PRIM: Integer (3.0)
GRUP: Integer (3.0)
OBJL: Integer (5.0)
RVER: Integer (3.0)
AGEN: Integer (5.0)
FIDN: Integer (10.0)
FIDS: Integer (5.0)
LNAM: String (16.0)
LNAM_REFS: StringList (16.0)
FFPT_RIND: IntegerList (1.0)
NAME_RCNM: IntegerList (3.0)
NAME_RCID: IntegerList (10.0)
ORNT: IntegerList (1.0)
USAG: IntegerList (1.0)
MASK: IntegerList (3.0)
-------
and
------
ogr2ogr --config S57_PROFILE iw -skipfailures -f CSV x.csv 1W7ML310.000 -nlt POINT
also does not extract the needed values.
Best Wulf
More information about the gdal-dev
mailing list