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 This refers how the attributes are defined differently between normal S57 ENC and the inland water profile in the csv files Good luck /Lars Schylberg 12 december 2019 kl. 10:58, "wulf" <gdal-...@coulmann.de> skrev: > Hallo again, > > I found bit more info, so I thing I asked the wrong question. > what I miss/need is > wtwdis > on some points > unlocd > > is this possible with ogr2ogr? > Or where can I get further hints. > > If I check the details from Points I like to extract in opencpn I get > > or points without unlocd > distance mark (dismar) > 52 13.7280 N, 011 40.0977 E > CATGEO POINT > CATDIS distance mark not physically installed(1) > hunits kilometers(3) > wtwdis 319.9 m > unlocd DEQWS031010000003199 > > or points without unlocd > > distance mark (dismar) > 52 13.6335 N, 011 40.1771 E > CATGEO POINT > CATDIS distance mark not physically installed(1) > hunits kilometers > wtwdis 310.1 > > old post at the End > Best Wulf > >> I like to extract distance marks from S57 IENC >> >> if I run: >> ogr2ogr -skipfailures -f CSV x.csv 1W7ML310.000 -lco GEOMETRY=AS_XY >> >> I get: >> X,Y,RCID,PRIM,GRUP,OBJL,RVER,AGEN,FIDN,FIDS,LNAM,LNAM_REFS,FFPT_RIND,catdis,DATEND,DATSTA,NOBJNM,OBJ >> AM,INFORM,NINFOM,NTXTDS,PICREP,SCAMIN,TXTDSC,updmsg,SORDAT,SORIND >> 11.5270611,52.2419757,"291","1","2","17004","1","7984","1526304445","36",1F305AF98EBD0024,,,"1",,,, >> , ,,,,"8000",,,, >> >> I miss the value of the distanc mark (maybe OBJNAM or NOBJNM). If I open the >> data source with an >> editor I >> find something like >> ¨B310.1^_µBDENQB031010000003101^_ÏB3^_" >> >> where 310.1 refers to "km 310.1" and 031010000003101 is a combination >> of an waterwaynumber "031010000" and the distanz as intager "3101" >> so information is present. >> >> How to get it extracted with every row? >> >> you find the S57 data here: >> http://gpl.coulmann.de/tmp/1W7ML310.000 >> which is original extracted from >> (provided by german inland waterway administration) >> https://www.elwis.de/DE/dynamisch/IENC/download_commit.php?file=WW41_2018-06-22_0_318 >> >> Thanks for the effort >> Wulf >> >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/gdal-dev > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev