<div dir="ltr">Hi Tom,<div>agree, the DublinCore was just a simplified example.</div><div><br></div><div>Currently on ISO output there's no layer/feature/coverage name at all, but only the title.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054  Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax:     +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob:   +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jul 27, 2017 at 1:39 PM, Tom Kralidis <span dir="ltr"><<a href="mailto:tomkralidis@gmail.com" target="_blank">tomkralidis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Alessio: thanks for the info.  Comments interleaved:<br>
<br>
On Wed, 26 Jul 2017, Alessio Fabiani wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Wed, 26 Jul 2017 11:10:36 +0200<br>
From: Alessio Fabiani <<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions<wbr>.it</a>><br>
To: geonode-devel <<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><wbr>>,<br>
    geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><wbr>><br>
Subject: [GeoNode-users] GeoNode - PyCSW integration issues<span class=""><br>
<br>
Dear all,<br>
I want to highlight some important issues about the current integration<br>
between GeoNode and PyCSW.<br>
<br>
Other than a non-trivial security issue (basically the CSW exposes metadata<br>
for all Layers no matter if they are accessible or not by the user),<br>
</span></blockquote>
<br>
This is in my queue to fix (half way there).<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
one<br>
more, I would say, big issue is that currently is not possible to recognize<br>
the Layer "real name" from the metadata documents.<br>
<br>
Let me provide an example. Here below a snippet of a DublinCore XML<br>
produced by PyCSW<br>
<br>
...<br>
<csw:Record><br>
   <dc:identifier>941a8d7e-7159-<wbr>11e7-b283-002215079c40</dc:ide<wbr>ntifier><br>
   <dc:title>san_andres_y_provid<wbr>encia_highway</dc:title><br>
   <dc:type>dataset</dc:type><br>
   <dc:subject/><br>
   ...<br>
   <dct:references scheme="WWW:DOWNLOAD-1.0-http-<wbr>-download"><br>
<a href="http://localhost:8080/geoserver/wms?request=GetLegendGraphic&amp;format=image/png&amp;WIDTH=20&amp;HEIGHT=20&amp;LAYER=geonode:san_andres_y_providencia_highway&amp;legend_options=fontAntiAliasing:true;fontSize:12;forceLabels:on" rel="noreferrer" target="_blank">http://localhost:8080/geoserve<wbr>r/wms?request=GetLegendGraphic<wbr>&amp;format=image/png&amp;<wbr>WIDTH=20&amp;HEIGHT=20&amp;<wbr>LAYER=geonode:san_andres_y_<wbr>providencia_highway&amp;<wbr>legend_options=fontAntiAliasin<wbr>g:true;fontSize:12;<wbr>forceLabels:on</a><br>
</dct:references><br>
   <dct:references scheme="OGC:WMS"><br>
<a href="http://localhost:8080/geoserver/geonode/wms" rel="noreferrer" target="_blank">http://localhost:8080/geoserve<wbr>r/geonode/wms</a></dct:references><br>
   <dct:references scheme="OGC:WFS"><br>
<a href="http://localhost:8080/geoserver/geonode/wfs" rel="noreferrer" target="_blank">http://localhost:8080/geoserve<wbr>r/geonode/wfs</a></dct:references><br>
...<br>
<br>
(full XML here <a href="https://pastebin.com/Wu0vm79B" rel="noreferrer" target="_blank">https://pastebin.com/Wu0vm79B</a>)<br>
<br></span>
Seems to be good right? *Wrong!* There some important things missing here:<span class=""><br>
<br>
1. It is not possible to recognize the layer name at all; The element<br>
"title" is mapped to the resource title, meaning that whenever I change it<br>
on the metadata into a human readable fashion, I lose the layer name forever<br>
<br>
</span></blockquote>
<br>
You should use ISO instead?  See below comment.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2. Layer qualified name is missing; if the name had a namespace, like on<br>
GeoServer, it is not possible to know which is at all<br>
<br>
3. WMS and WFS links cannot be used at all, since the layer name cannot be<br>
retrieved anywhere<br>
<br>
</blockquote>
<br></span>
Anyone who wants to do tight coupling to OWS resources via CSW search<br>
workflows needs to use the ISO output, which provides the bare URL<br>
as well as the given Layer/FeatureType/Coverage.<br>
<br>
Otherwise, the Dublin Core approach allows for discovery followed by<br>
the client doing a full round trip (GetCapabilities, etc.) to be able<br>
to find the layer again.  This is not optimal, which is exactly why<br>
the CSW ISO Application Profile was created to help tight couplling<br>
workflows.<br>
<br>
If there are issues in the ISO output then let's tackle those?<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
*Proposal*<span class=""><br>
<br>
Following the notes written by Stephen Richard here<br>
<a href="https://github.com/geopython/pycsw/wiki/Geonode-notes" rel="noreferrer" target="_blank">https://github.com/geopython/p<wbr>ycsw/wiki/Geonode-notes</a><br>
<br>
the proposal here would be to add more references<br>
<br>
OGC:WMS-1.1.1-http-get-capabil<wbr>ities<br>
OGC:WMS-1.3.0-http-get-capabil<wbr>ities<br>
OGC:WMS-1.1.1-http-get-map<br>
OGC:WMS-1.3.0-http-get-map<br>
OGC:WMS-1.1.1-http-get-feature<wbr>info<br>
OGC:WMS-1.3.0-http-get-feature<wbr>info<br>
<br>
OGC:WFS-1.0.0-http-get-capabil<wbr>ities<br>
OGC:WFS-1.0.0-http-describe-fe<wbr>ature<br>
OGC:WFS-1.0.0-http-get-feature<br>
<br>
OGC:WCS-1.1.0-http-get-capabil<wbr>ities<br>
OGC:WCS-1.1.0-http-describe-co<wbr>verage<br>
OGC:WCS-1.1.0-http-get-coverag<wbr>e<br>
...<br>
</span></blockquote>
<br>
Note that we promoted this into a canonical lookup at:<br>
<br>
<a href="https://github.com/OSGeo/Cat-Interop/blob/master/LinkPropertyLookupTable.csv" rel="noreferrer" target="_blank">https://github.com/OSGeo/Cat-I<wbr>nterop/blob/master/LinkPropert<wbr>yLookupTable.csv</a><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
in order to let CSW being able to send correct links to the clients.<br>
<br>
If there are no objections, I will create a PR accordingly related to the<br>
following ISSUE<br>
<br>
<a href="https://github.com/GeoNode/geonode/issues/2720#issuecomment-262829872" rel="noreferrer" target="_blank">https://github.com/GeoNode/geo<wbr>node/issues/2720#issuecomment-<wbr>262829872</a><br>
<br>
Please comment on this.<br>
<br>
<br>
Regards,<br>
<br>
Alessio Fabiani<br>
<br>
==<br>
GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" rel="noreferrer" target="_blank">http://goo.gl/it488V</a><br>
for more information.<br>
==<br>
<br>
Ing. Alessio Fabiani<br>
<br>
@alfa7691<br>
Founder/Technical Lead<br>
<br>
<br>
GeoSolutions S.A.S.<br>
Via di Montramito 3/A<br>
55054  Massarosa (LU)<br>
Italy<br>
phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a><br>
fax:     <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a><br>
mob:   <a href="tel:%2B39%20331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a><br>
<br>
<a href="http://www.geo-solutions.it" rel="noreferrer" target="_blank">http://www.geo-solutions.it</a><br>
<a href="http://twitter.com/geosolutions_it" rel="noreferrer" target="_blank">http://twitter.com/geosolution<wbr>s_it</a><br>
<br>
------------------------------<wbr>-------------------------<br>
<br>
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003<br>
<br>
Le informazioni contenute in questo messaggio di posta elettronica e/o<br>
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il<br>
loro utilizzo è consentito esclusivamente al destinatario del messaggio,<br>
per le finalità indicate nel messaggio stesso. Qualora riceviate questo<br>
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di<br>
darcene notizia via e-mail e di procedere alla distruzione del messaggio<br>
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,<br>
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od<br>
utilizzarlo per finalità diverse, costituisce comportamento contrario ai<br>
principi dettati dal D.Lgs. 196/2003.<br>
<br>
The information in this message and/or attachments, is intended solely for<br>
the attention and use of the named addressee(s) and may be confidential or<br>
proprietary in nature or covered by the provisions of privacy act<br>
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection<br>
Code).Any use not in accord with its purpose, any disclosure, reproduction,<br>
copying, distribution, or either dissemination, either whole or partial, is<br>
strictly forbidden except previous formal approval of the named<br>
addressee(s). If you are not the intended recipient, please contact<br>
immediately the sender by telephone, fax or e-mail and delete the<br>
information in this message that has been received in error. The sender<br>
does not give any warranty or accept liability as the content, accuracy or<br>
completeness of sent messages and accepts no responsibility  for changes<br>
made after they were sent or for other risks which arise as a result of<br>
e-mail transmission, viruses, etc.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>