add geolocation for datacite metadata anf for backend

This commit is contained in:
Arno Kaimbacher 2019-01-07 11:16:18 +01:00
parent e7d8dc21a0
commit ba38fc1ed1
16 changed files with 3833 additions and 6047 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"/js/app.js": "/js/app.js",
"/backend/publish/datasetPublish.js": "/backend/publish/datasetPublish.js",
"/js/app.js": "/js/app.js",
"/js/lib.js": "/js/lib.js",
"/js/dataTable.js": "/js/dataTable.js"
}

View file

@ -16,9 +16,8 @@
*
* @category Application
* @package Module_Oai
* @author Michael Lang <lang@zib.de>
* @author Jens Schwidder <schwidder@zib.de>
* @copyright Copyright (c) 2008-2016, OPUS 4 development team
* @author Arno Kaimbacher <arno.kaimbacher@geologie.ac.at>
* @copyright Copyright (c) 2018-2019, GBA RDR development team
* @license http://www.gnu.org/licenses/gpl.html General Public License
*/
-->
@ -100,14 +99,22 @@
</xsl:template>
<xsl:template match="GeolocationBox" mode="oai_datacite">
<geoLocation>
<geoLocationBox>
<westBoundLongitude><xsl:value-of select="@Xmin" /></westBoundLongitude>
<eastBoundLongitude><xsl:value-of select="@Xmax" /></eastBoundLongitude>
<southBoundLatitude><xsl:value-of select="@Ymin" /></southBoundLatitude>
<northBoundLatitude><xsl:value-of select="@Ymax" /></northBoundLatitude>
</geoLocationBox>
</geoLocation>
<geoLocation>
<geoLocationBox>
<westBoundLongitude>
<xsl:value-of select="@Xmin" />
</westBoundLongitude>
<eastBoundLongitude>
<xsl:value-of select="@Xmax" />
</eastBoundLongitude>
<southBoundLatitude>
<xsl:value-of select="@Ymin" />
</southBoundLatitude>
<northBoundLatitude>
<xsl:value-of select="@Ymax" />
</northBoundLatitude>
</geoLocationBox>
</geoLocation>
</xsl:template>
<xsl:template match="TitleAbstract" mode="oai_datacite">