[Tilesathome] Maplint change request

Dermot McNally dermotm at gmail.com
Sat Sep 29 15:20:43 BST 2007


Hi,

Could some kind person with SVN access please commit the patch below.

Purpose: Due to a large-scale import of place nodes from US Government
GNS data, the nodes created have a large number of attributes in a
gns: namespace. I have excluded these attributes from maplint
consideration in a manner consistent with the equivalent tiger and AND
attributes.

Thanks,
Dermot


Index: tests.xml
===================================================================
--- tests.xml   (revision 4741)
+++ tests.xml   (working copy)
@@ -349,6 +349,8 @@
 <maplint:check data="way" type="application/xsl+xml">
 <xsl:for-each select="tag">
 <xsl:choose>
+<xsl:when test="starts-with(@k, 'gns:')">
+</xsl:when>
 <xsl:when test="starts-with(@k, 'tiger:')">
 </xsl:when>
 <xsl:when test="starts-with(@k, 'AND_')">
@@ -1246,6 +1248,8 @@
 <maplint:check data="segment" type="application/xsl+xml">
 <xsl:for-each select="tag">
 <xsl:choose>
+<xsl:when test="starts-with(@k, 'gns:')">
+</xsl:when>
 <xsl:when test="starts-with(@k, 'tiger:')">
 </xsl:when>
 <xsl:when test="starts-with(@k, 'AND_')">
@@ -1288,6 +1292,8 @@
 <maplint:check data="node" type="application/xsl+xml">
 <xsl:for-each select="tag">
 <xsl:choose>
+<xsl:when test="starts-with(@k, 'gns:')">
+</xsl:when>
 <xsl:when test="starts-with(@k, 'tiger:')">
 </xsl:when>
 <xsl:when test="starts-with(@k, 'AND_')">




More information about the Tilesathome mailing list