<div dir="ltr">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.<div><br></div><div>Jonathan,.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 3 May 2020 at 08:39, Andreas Oxenstierna <<a href="mailto:ao@t-kartor.se">ao@t-kartor.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
I have not checked the GDAL implementation but DSNM is an unneccessary <br>
addition to the S57 spec to generate a (potential unique) GUID.<br>
S57 spec has no GUID definition, IDs needs only be to unique inside a <br>
dataset/ENC cell.<br>
<br>
DSNM belongs to the dataset-wide DSID fields, see 6.3.2 in <br>
<a href="https://iho.int/uploads/user/pubs/standards/s-57/20ApB1.pdf" rel="noreferrer" target="_blank">https://iho.int/uploads/user/pubs/standards/s-57/20ApB1.pdf</a><br>
<br>
> Hello,<br>
><br>
> After reading this documentation concerning the S-57 driver :<br>
><br>
> <a href="https://gdal.org/drivers/vector/s57.html" rel="noreferrer" target="_blank">https://gdal.org/drivers/vector/s57.html</a><br>
><br>
> I thought the attribute DSNM ( Dataset name) should be defined on all features, no ?<br>
><br>
> But on the source code, the method S57GenerateStandardAttributes (s57featuredefns.cpp) always attaches theses standard feature attributes :<br>
> GRUP, OBJL, RVER, AGEN, FIDN, FIDS but there is no mention of the DSNM attribute.<br>
><br>
> Is it a mistake in the documentation? In the code? Or just a misunderstanding on my side?<br>
><br>
> Thank you for your clarification,<br>
><br>
> -- loïc<br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
<br>
-- <br>
Best Regards<br>
<br>
Andreas Oxenstierna<br>
T-Kartor Geospatial AB<br>
Olof Mohlins väg 12 Kristianstad<br>
mobile: +46 733 206831<br>
mailto: <a href="mailto:ao@t-kartor.se" target="_blank">ao@t-kartor.se</a><br>
<a href="http://www.t-kartor.com" rel="noreferrer" target="_blank">http://www.t-kartor.com</a><br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div>