Commit 711f8fcc authored by bourgesl's avatar bourgesl
Browse files

updated GNSS Products.Japan + added geoLocationPolygon support

parent 2b33c263
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
Time series and velocity products are directly accessible from the data archive:
Time series products are directly accessible from the data archive:
</body>
</html>
"# Clé";Valeur;"# Clé attribut";"# Valeur attribut";"# Clé attribut";"# Valeur attribut";"# Description"
identifier:DOI;10.5072/GNSS.products.Japan;;;;;"# 1. Identifier: Identifiant DOI au format 10.5072/<suffixe>"
title;"GNSS position solutions in Japan";;;;;"# 3. Title: Titre du service / jeu de données (citation)"
title:TranslatedTitle;"GNSS position solution in Japan: - Global Navigation Satellite System - position solutions in Japan using GAMIT and GipsyX processing";;;;;"# Titre original (FR)"
title:TranslatedTitle;"GNSS position solution in Japan: - Global Navigation Satellite System - position solutions in Japan using GAMIT processing";;;;;"# Titre original (FR)"
"# 7. Contributor";;;;;;"# 7. Contributor: Lister les personnes / institutions associées au jeu de données / service d'observation: utiliser autant de lignes que nécessaire et remplir les attributs affiliation et identifiant ORCID pour les personnes"
contributorName:DataCollector;"Lou Marill";affiliation;CNRS;nameIdentifier:ORCID;0000-0003-3610-5341;"# Nom des personnes de terrain chargées de la collecte des données"
contributorName:DataCollector;"Axel Periollat";affiliation;UGA;nameIdentifier:ORCID;;"# Nom des personnes de terrain chargées de la collecte des données"
......@@ -12,7 +12,7 @@ resourceType:Dataset;"GNSS products (time series positionings)";;;;;"# 10. Resou
"# 12. RelatedIdentifier";;;;;;"# 12. RelatedIdentifier: Lister les relations existantes entre les identifiants DOI et liens vers sites web, utiliser le type de relation approprié."
relatedIdentifier:Cites:URL;http://datahouse1.gsi.go.jp/terras/terras_english.html;;;;;"# Lien vers site web "
relatedIdentifier:IsPartOf:DOI;10.5072/GNSS.products.all;;;;;"# Lien vers le DOI parent"
description:Abstract;"This dataset includes solutions processed by ISTerre for all Japanese GNSS stations. These products are daily position time series (North, East and Vertical), in the ITRF14 reference frame, calculated from RINEX files using, for one dataset, the double difference method with GAMIT software, and for the other one, the precise point positioning with GipsyX software.";;;;;"# 17. Description: description textuelle du jeu de données / service"
description:Abstract;"This dataset includes solutions processed by ISTerre for all Japanese GNSS stations. These products are daily position time series (North, East and Vertical), in the ITRF14 reference frame, calculated from RINEX files using the double difference method with GAMIT software.";;;;;"# 17. Description: description textuelle du jeu de données / service"
description:SeriesInformation;"These datasets provide GNSS solutions for continuous stations in Japan. Data come from the GNSS Earth Observation Network System in Japan (GEONET)";;;;;"# 17. Description: description du format du fichier comme les colonnes d’une table"
geoLocationPlace;Japan;;;;;"# 18. GeoLocation: nom d'une zone géographique"
funderName;"Agence Nationale de la recherche (ANR)";awardNumber;"ANR-17-CE31-0002-01 ";awardTitle;AtypicSSE;"# 19. Funder: Financement régulier pour citer toutes les institutions impliquées (nom complet) et optionnellement les grants (ref / titre) "
......
......@@ -637,6 +637,20 @@
<xsl:value-of select="d:geoLocationBox/d:eastBoundLongitude" />
<xsl:text> (S. W. N. E.)</xsl:text>
</xsl:when>
<xsl:when test="d:geoLocationPolygon">
<xsl:text>Polygon: </xsl:text>
<xsl:for-each select="d:geoLocationPolygon/d:polygonPoint">
<xsl:text>(</xsl:text>
<xsl:value-of select="d:pointLatitude" />
<xsl:text> </xsl:text>
<xsl:value-of select="d:pointLongitude" />
<xsl:text>) </xsl:text>
</xsl:for-each>
<xsl:text> (N. E.)</xsl:text>
</xsl:when>
<xsl:otherwise>
(unsupported) <xsl:value-of select="text()" />
</xsl:otherwise>
</xsl:choose>
</li>
</xsl:template>
......
......@@ -162,9 +162,9 @@
<!--
18 GeoLocation 0-n "GeoLocationPoint|geoLocationBox|geoLocationPlace"
-->
<xsl:if test="property[@key='geoLocationPoint' or @key='geoLocationBox' or @key='geoLocationPlace']">
<xsl:if test="property[@key='geoLocationPlace' or @key='geoLocationPoint' or @key='geoLocationBox' or @key='geoLocationPolygon']">
<geoLocations>
<xsl:apply-templates select="property[@key='geoLocationPoint' or @key='geoLocationBox' or @key='geoLocationPlace']" mode="geoLocation"/>
<xsl:apply-templates select="property[@key='geoLocationPlace' or @key='geoLocationPoint' or @key='geoLocationBox' or @key='geoLocationPolygon']" mode="geoLocation"/>
</geoLocations>
</xsl:if>
......@@ -388,6 +388,7 @@
<xsl:variable name="nodes" select="exsl:node-set($tokens)/token"/>
<xsl:choose>
<xsl:when test="@key = 'geoLocationPoint'">
<!-- points are given by "lat lon" -->
<pointLatitude>
<xsl:value-of select="$nodes[1]/text()"/>
</pointLatitude>
......@@ -396,6 +397,7 @@
</pointLongitude>
</xsl:when>
<xsl:when test="@key = 'geoLocationBox'">
<!-- points are given by "S W N E" -->
<southBoundLatitude>
<xsl:value-of select="$nodes[1]/text()"/>
</southBoundLatitude>
......@@ -411,6 +413,33 @@
</xsl:when>
</xsl:choose>
</xsl:when>
<xsl:when test="@key = 'geoLocationPolygon'">
<xsl:variable name="polygon" select="translate(text(), '&#10;&#13;', '')"/>
<!-- points are given by "lon lat,... " -->
<xsl:variable name="tokens_pt">
<xsl:call-template name="split">
<xsl:with-param name="string" select="$polygon"/>
<xsl:with-param name="pattern" select="','" />
</xsl:call-template>
</xsl:variable>
<xsl:for-each select="exsl:node-set($tokens_pt)/token">
<xsl:variable name="tokens">
<xsl:call-template name="split">
<xsl:with-param name="string" select="text()"/>
<xsl:with-param name="pattern" select="' '" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="nodes" select="exsl:node-set($tokens)/token"/>
<polygonPoint>
<pointLatitude>
<xsl:value-of select="$nodes[2]/text()"/>
</pointLatitude>
<pointLongitude>
<xsl:value-of select="$nodes[1]/text()"/>
</pointLongitude>
</polygonPoint>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="text()"/>
</xsl:otherwise>
......
......@@ -157,6 +157,7 @@ public interface Const {
KEY_GEO_LOCATION_PLACE,
"geoLocationPoint",
"geoLocationBox",
"geoLocationPolygon",
//# 19 [funder]
KEY_FUNDER_NAME
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment