Skip to content

Commit

Permalink
ISO19110 / ISO19115-3.2008 / Fix indexing of multiple feature type al…
Browse files Browse the repository at this point in the history
…iases (#8545)

* ISO19110 / Fix indexing of multiple feature type aliases

* ISO19115-3.2008 / Fix indexing of multiple feature type aliases
  • Loading branch information
josegar74 authored Dec 9, 2024
1 parent e5bf00d commit 794db36
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@
"definition" :"<xsl:value-of select="util:escapeForJson(gfc:FC_FeatureType/gfc:definition/*/text())"/>",
"code" :"<xsl:value-of select="util:escapeForJson(gfc:FC_FeatureType/gfc:code/*/text())"/>",
"isAbstract" :"<xsl:value-of select="gfc:FC_FeatureType/gfc:isAbstract/*/text()"/>",
"aliases" : "<xsl:value-of select="util:escapeForJson(gfc:FC_FeatureType/gfc:aliases/*/text())"/>"
"aliases" : [
<xsl:for-each select="gfc:FC_FeatureType/gfc:aliases[string(*/text())]">
"<xsl:value-of select="util:escapeForJson(*/text())"/>"<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
]
<!--"inheritsFrom" : "<xsl:value-of select="gfc:FC_FeatureType/gfc:inheritsFrom/*/text()"/>",
"inheritsTo" : "<xsl:value-of select="gfc:FC_FeatureType/gfc:inheritsTo/*/text()"/>",
"constrainedBy" : "<xsl:value-of select="gfc:FC_FeatureType/gfc:constrainedBy/*/text()"/>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,11 @@
"definition" :"<xsl:value-of select="util:escapeForJson(gfc:FC_FeatureType/gfc:definition/gco:CharacterString/text())"/>",
"code" :"<xsl:value-of select="util:escapeForJson(gfc:FC_FeatureType/gfc:code/(gco:CharacterString|gcx:Anchor)/text())"/>",
"isAbstract" :"<xsl:value-of select="gfc:FC_FeatureType/gfc:isAbstract/gco:Boolean/text()"/>",
"aliases" : "<xsl:value-of select="util:escapeForJson(gfc:FC_FeatureType/gfc:aliases/gco:CharacterString/text())"/>"
"aliases" : [
<xsl:for-each select="gfc:FC_FeatureType/gfc:aliases[string(*/text())]">
"<xsl:value-of select="util:escapeForJson(*/text())"/>"<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
]
<!--"inheritsFrom" : "<xsl:value-of select="gfc:FC_FeatureType/gfc:inheritsFrom/*/text()"/>",
"inheritsTo" : "<xsl:value-of select="gfc:FC_FeatureType/gfc:inheritsTo/*/text()"/>",
"constrainedBy" : "<xsl:value-of select="gfc:FC_FeatureType/gfc:constrainedBy/*/text()"/>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3>
</tr>
<tr data-ng-if="featureType.aliases">
<th data-translate="">featureAliases</th>
<td>{{featureType.aliases}}</td>
<td>{{featureType.aliases.join(", ")}}</td>
</tr>
<tr data-ng-if="featureType.attributeTable">
<td
Expand Down

0 comments on commit 794db36

Please sign in to comment.