[mapguide-commits] r5897 - branches/2.2/MgDev/Web/src/schemareport

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Jun 1 08:27:38 EDT 2011


Author: jng
Date: 2011-06-01 05:27:38 -0700 (Wed, 01 Jun 2011)
New Revision: 5897

Modified:
   branches/2.2/MgDev/Web/src/schemareport/displayschema.php
   branches/2.2/MgDev/Web/src/schemareport/displayschema.xsl
   branches/2.2/MgDev/Web/src/schemareport/stringconstants.php
Log:
#1568: Show spatial context association beside the geometry property information. Patch provided by Zac Spitzer

Modified: branches/2.2/MgDev/Web/src/schemareport/displayschema.php
===================================================================
--- branches/2.2/MgDev/Web/src/schemareport/displayschema.php	2011-06-01 12:27:07 UTC (rev 5896)
+++ branches/2.2/MgDev/Web/src/schemareport/displayschema.php	2011-06-01 12:27:38 UTC (rev 5897)
@@ -116,6 +116,7 @@
                 $proc->setParameter('', 'stringHasElevation', XslStrings::HasElevation);
                 $proc->setParameter('', 'stringNoGeometry', XslStrings::NoGeometry);
                 $proc->setParameter('', 'stringNoData', XslStrings::NoData);
+                $proc->setParameter('', 'stringSrsName', XslStrings::SrsName);
 
                 $html = $proc->transformToXML($xml_object);
 

Modified: branches/2.2/MgDev/Web/src/schemareport/displayschema.xsl
===================================================================
--- branches/2.2/MgDev/Web/src/schemareport/displayschema.xsl	2011-06-01 12:27:07 UTC (rev 5896)
+++ branches/2.2/MgDev/Web/src/schemareport/displayschema.xsl	2011-06-01 12:27:38 UTC (rev 5897)
@@ -21,6 +21,7 @@
 <xsl:param name="stringHasElevation"/>
 <xsl:param name="stringNoGeometry"/>
 <xsl:param name="stringNoData"/>
+<xsl:param name="stringSrsName"/>
 
 
 <xsl:template match="/">
@@ -120,6 +121,7 @@
                                 <tr><td class="heading"><xsl:value-of select="$stringPropertyType"/></td></tr>
                                 <tr><td class="heading"><xsl:value-of select="$stringHasMeasures"/></td></tr>
                                 <tr><td class="heading"><xsl:value-of select="$stringHasElevation"/></td></tr>
+                                <tr><td class="heading"><xsl:value-of select="$stringSrsName"/></td></tr>
                                 </table>
                             </td>
                             <!--apply template to elements-->
@@ -182,6 +184,7 @@
                     <tr><td><xsl:value-of select="@fdo:geometricTypes"/></td></tr>
                     <tr><td><xsl:value-of select="@fdo:hasMeasure"/></td></tr>
                     <tr><td><xsl:value-of select="@fdo:hasElevation"/></td></tr>
+                    <tr><td><xsl:value-of select="@fdo:srsName"/></td></tr>
                     </table>
                 </td>
             </xsl:if>

Modified: branches/2.2/MgDev/Web/src/schemareport/stringconstants.php
===================================================================
--- branches/2.2/MgDev/Web/src/schemareport/stringconstants.php	2011-06-01 12:27:07 UTC (rev 5896)
+++ branches/2.2/MgDev/Web/src/schemareport/stringconstants.php	2011-06-01 12:27:38 UTC (rev 5897)
@@ -115,6 +115,7 @@
     const HasElevation = 'Has Elevation';
     const NoGeometry = 'No Geometry';
     const NoData = 'No Data';
+    const SrsName = 'Srs Name';
 }
 
 ?>



More information about the mapguide-commits mailing list