Esri / geoportal-server

Geoportal Server is a standards-based, open source product that enables discovery and use of geospatial resources including data and services.
https://gptogc.esri.com/geoportal
Apache License 2.0
244 stars 149 forks source link

DCAT output missing "temporal" element #224

Closed torrin47 closed 8 years ago

torrin47 commented 8 years ago

Odd that this went unnoticed for so long, particularly given how much emphasis was placed on improving date formatting at 1.2.6, but the dcat output appears to completely omit the "temporal" element, despite default COTS configuration, and we've not been able to enable it. As a confirmation of this behavior we've noted that the dcat output from the Esri sandbox instance has no occurrences of the dcat "temporal" extent element.

http://gptogc.esri.com/geoportal/rest/find/document?f=dcat&max=5000

Thoughts?

zguo commented 8 years ago

Hi Torrin,

We will take a look , it might be indexing or records without temporal info. can you please provide a couple of sample metadata to try out.

Thanks!

ZhongPing

torrin47 commented 8 years ago

Would it be more useful to have a couple of model records or a wide range of possibilities? When I look around in our public web accessible folders, I see that most records have some sort of temporal element, though some specify ground condition, some publication date, and others advertise a range with no associated description. https://edg.epa.gov/WAFer/EDG/ https://edg.epa.gov/WAFer_harvest/FGDC/ the free text nature of these elements in CSDGM certainly makes date formatting a challenge, and this element is only “mandatory if applicable”, but there are enough valid dates present that at least some records should have temporal elements on the other end.

From: ZhongPing Guo [mailto:notifications@github.com] Sent: Monday, June 20, 2016 5:55 PM To: Esri/geoportal-server geoportal-server@noreply.github.com Cc: Hultgren, Torrin Hultgren.Torrin@epa.gov; Author author@noreply.github.com Subject: Re: [Esri/geoportal-server] DCAT output missing "temporal" element (#224)

Hi Torrin,

We will take a look , it might be indexing or records without temporal info. can you please provide a couple of sample metadata to try out.

Thanks!

ZhongPing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Esri/geoportal-server/issues/224#issuecomment-227281852, or mute the threadhttps://github.com/notifications/unsubscribe/ACB0vPFiIR1gF2rU14z7Y2keGc92DVj_ks5qNwxGgaJpZM4I58Eh.

zguo commented 8 years ago

Indeed there was a bug, I’ve posted the fix on gptogc, you might try if particular date element/format works for you, the simplest way to test is to upload a record, approve, do a search for that particular record and then click on the dcat link to see if temporal element is there.

Thanks!

ZhongPing

From: Torrin Hultgren [mailto:notifications@github.com] Sent: Monday, June 20, 2016 3:53 PM To: Esri/geoportal-server geoportal-server@noreply.github.com Cc: ZhongPing Guo zguo@esri.com; Assign assign@noreply.github.com Subject: Re: [Esri/geoportal-server] DCAT output missing "temporal" element (#224)

Would it be more useful to have a couple of model records or a wide range of possibilities? When I look around in our public web accessible folders, I see that most records have some sort of temporal element, though some specify ground condition, some publication date, and others advertise a range with no associated description. https://urldefense.proofpoint.com/v2/url?u=https-3A__edg.epa.gov_WAFer_EDG_&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=r2C0RnpIp6FFzULD4tFgFmPNQoAYMTBnU3nGKQbdBeU&e= https://urldefense.proofpoint.com/v2/url?u=https-3A__edg.epa.gov_WAFer-5Fharvest_FGDC_&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=ogGtVtXqretKijX-8rugthW6Zd8W8KECdwTxhunQ2vA&e= the free text nature of these elements in CSDGM certainly makes date formatting a challenge, and this element is only “mandatory if applicable”, but there are enough valid dates present that at least some records should have temporal elements on the other end.

From: ZhongPing Guo [mailto:notifications@github.com] Sent: Monday, June 20, 2016 5:55 PM To: Esri/geoportal-server geoportal-server@noreply.github.com<mailto:geoportal-server@noreply.github.com> Cc: Hultgren, Torrin Hultgren.Torrin@epa.gov<mailto:Hultgren.Torrin@epa.gov>; Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [Esri/geoportal-server] DCAT output missing "temporal" element (#224)

Hi Torrin,

We will take a look , it might be indexing or records without temporal info. can you please provide a couple of sample metadata to try out.

Thanks!

ZhongPing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_geoportal-2Dserver_issues_224-23issuecomment-2D227281852&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=-iy-k39K21GxSPMbtB7gwfYk59E6k5aeHDgTmiyrMxk&e= >, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe_ACB0vPFiIR1gF2rU14z7Y2keGc92DVj-5Fks5qNwxGgaJpZM4I58Eh&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=H-qLLn9JwB1ZLr65QsZYoaU1NVKAeZPSL86t1cNyMHc&e= >.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3Agithub.com_Esri_geoportal-2Dserver_issues_224-23issuecomment-2D227293893&d=CwMFaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=L6Fq3d9p_PJ5vRG21TLwYg&m=gcCJLoLHGX8DzubdJAskrDuIah7bPTIpLvuYuJDq2yI&s=y2XAaeTrmg7z_ZAvcemZ6lEAxO2KByqhzS4ECISlYeE&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3Agithub.com_notifications_unsubscribe_ACEKMaH-2DFWdcOaPVYY9wQPtpEYoZI1O-5Fks5qNxnZgaJpZM4I58Eh&d=CwMFaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=L6Fq3d9p_PJ5vRG21TLwYg&m=gcCJLoLHGX8DzubdJAskrDuIah7bPTIpLvuYuJDq2yI&s=Qq4Owfc9_RHfqNwV0lBsXbE-BQB383d-s3IMxYd7mK0&e=.

torrin47 commented 8 years ago

Excellent, I see things working on gptoc now, that’s good enough for us, we’ll incorporate it with the next release. Much appreciated.

From: ZhongPing Guo [mailto:notifications@github.com] Sent: Tuesday, June 21, 2016 12:51 PM To: Esri/geoportal-server geoportal-server@noreply.github.com Cc: Hultgren, Torrin Hultgren.Torrin@epa.gov; Author author@noreply.github.com Subject: Re: [Esri/geoportal-server] DCAT output missing "temporal" element (#224)

Indeed there was a bug, I’ve posted the fix on gptogc, you might try if particular date element/format works for you, the simplest way to test is to upload a record, approve, do a search for that particular record and then click on the dcat link to see if temporal element is there.

Thanks!

ZhongPing

From: Torrin Hultgren [mailto:notifications@github.com] Sent: Monday, June 20, 2016 3:53 PM To: Esri/geoportal-server geoportal-server@noreply.github.com<mailto:geoportal-server@noreply.github.com> Cc: ZhongPing Guo zguo@esri.com<mailto:zguo@esri.com>; Assign assign@noreply.github.com<mailto:assign@noreply.github.com> Subject: Re: [Esri/geoportal-server] DCAT output missing "temporal" element (#224)

Would it be more useful to have a couple of model records or a wide range of possibilities? When I look around in our public web accessible folders, I see that most records have some sort of temporal element, though some specify ground condition, some publication date, and others advertise a range with no associated description. https://urldefense.proofpoint.com/v2/url?u=https-3A__edg.epa.gov_WAFer_EDG_&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=r2C0RnpIp6FFzULD4tFgFmPNQoAYMTBnU3nGKQbdBeU&e= https://urldefense.proofpoint.com/v2/url?u=https-3A__edg.epa.gov_WAFer-5Fharvest_FGDC_&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=ogGtVtXqretKijX-8rugthW6Zd8W8KECdwTxhunQ2vA&e= the free text nature of these elements in CSDGM certainly makes date formatting a challenge, and this element is only “mandatory if applicable”, but there are enough valid dates present that at least some records should have temporal elements on the other end.

From: ZhongPing Guo [mailto:notifications@github.com] Sent: Monday, June 20, 2016 5:55 PM To: Esri/geoportal-server geoportal-server@noreply.github.com<mailto:geoportal-server@noreply.github.com<mailto:geoportal-server@noreply.github.com%3cmailto:geoportal-server@noreply.github.com>> Cc: Hultgren, Torrin Hultgren.Torrin@epa.gov<mailto:Hultgren.Torrin@epa.gov<mailto:Hultgren.Torrin@epa.gov%3cmailto:Hultgren.Torrin@epa.gov>>; Author author@noreply.github.com<mailto:author@noreply.github.com<mailto:author@noreply.github.com%3cmailto:author@noreply.github.com>> Subject: Re: [Esri/geoportal-server] DCAT output missing "temporal" element (#224)

Hi Torrin,

We will take a look , it might be indexing or records without temporal info. can you please provide a couple of sample metadata to try out.

Thanks!

ZhongPing

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_geoportal-2Dserver_issues_224-23issuecomment-2D227281852&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=-iy-k39K21GxSPMbtB7gwfYk59E6k5aeHDgTmiyrMxk&e= https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_geoportal-2Dserver_issues_224-23issuecomment-2D227281852&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=-iy-k39K21GxSPMbtB7gwfYk59E6k5aeHDgTmiyrMxk&e=%20 >, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe_ACB0vPFiIR1gF2rU14z7Y2keGc92DVj-5Fks5qNwxGgaJpZM4I58Eh&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=H-qLLn9JwB1ZLr65QsZYoaU1NVKAeZPSL86t1cNyMHc&e= https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe_ACB0vPFiIR1gF2rU14z7Y2keGc92DVj-5Fks5qNwxGgaJpZM4I58Eh&d=CwIGaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=ykEzFk0YKDvM14FU0V20Ao6090WQlRa2cWxjGEfnMUKlrSipdpHyvxeJMOyVxk85sHadCbgGp3sQtcury1FvSMIlql44mDW5tgABrdEdPg-0ODMjIwWA_jZGxK_JXm-blLUA1pSJyPhGKZp07ilxfg&m=sOeE0Pla5HVKqp6NiWdKtMotKLsgSm7NNBpWB1ssG5g&s=H-qLLn9JwB1ZLr65QsZYoaU1NVKAeZPSL86t1cNyMHc&e=%20 >.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3Agithub.com_Esri_geoportal-2Dserver_issues_224-23issuecomment-2D227293893&d=CwMFaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=L6Fq3d9p_PJ5vRG21TLwYg&m=gcCJLoLHGX8DzubdJAskrDuIah7bPTIpLvuYuJDq2yI&s=y2XAaeTrmg7z_ZAvcemZ6lEAxO2KByqhzS4ECISlYeE&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3Agithub.com_notifications_unsubscribe_ACEKMaH-2DFWdcOaPVYY9wQPtpEYoZI1O-5Fks5qNxnZgaJpZM4I58Eh&d=CwMFaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=L6Fq3d9p_PJ5vRG21TLwYg&m=gcCJLoLHGX8DzubdJAskrDuIah7bPTIpLvuYuJDq2yI&s=Qq4Owfc9_RHfqNwV0lBsXbE-BQB383d-s3IMxYd7mK0&e=.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Esri/geoportal-server/issues/224#issuecomment-227501448, or mute the threadhttps://github.com/notifications/unsubscribe/ACB0vLYxpRMEaBJSJi7PmVj6tG98xc1sks5qOBaPgaJpZM4I58Eh.

zguo commented 8 years ago

fixed in 1.2.7