Skip to content

Commit

Permalink
ISO19110 / Fix indexing of multiple feature type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
josegar74 committed Dec 9, 2024
1 parent e5bf00d commit 592a1b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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 @@ -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 592a1b4

Please sign in to comment.