DSNM is dataset name. I'ts defined in the DSID which only occurs in the first field/subfield group in the dataset - not sure what the driver does in respect of it. In terms of identifiers s-57 has "FOID"s, so each feature has a unique id made up of a combination of the agency code and two integers. These are used to identify features and take the place of the GUID, Foods don't repeat in a dataset but can represent a feature leaving and entering a cell... Hope this helps.
Jonathan,. On Sun, 3 May 2020 at 08:39, Andreas Oxenstierna <[email protected]> wrote: > Hi > > I have not checked the GDAL implementation but DSNM is an unneccessary > addition to the S57 spec to generate a (potential unique) GUID. > S57 spec has no GUID definition, IDs needs only be to unique inside a > dataset/ENC cell. > > DSNM belongs to the dataset-wide DSID fields, see 6.3.2 in > https://iho.int/uploads/user/pubs/standards/s-57/20ApB1.pdf > > > Hello, > > > > After reading this documentation concerning the S-57 driver : > > > > https://gdal.org/drivers/vector/s57.html > > > > I thought the attribute DSNM ( Dataset name) should be defined on all > features, no ? > > > > But on the source code, the method S57GenerateStandardAttributes > (s57featuredefns.cpp) always attaches theses standard feature attributes : > > GRUP, OBJL, RVER, AGEN, FIDN, FIDS but there is no mention of the DSNM > attribute. > > > > Is it a mistake in the documentation? In the code? Or just a > misunderstanding on my side? > > > > Thank you for your clarification, > > > > -- loïc > > _______________________________________________ > > gdal-dev mailing list > > [email protected] > > https://lists.osgeo.org/mailman/listinfo/gdal-dev > > > -- > Best Regards > > Andreas Oxenstierna > T-Kartor Geospatial AB > Olof Mohlins väg 12 Kristianstad > mobile: +46 733 206831 > mailto: [email protected] > http://www.t-kartor.com > > _______________________________________________ > gdal-dev mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
