<?xml version="1.0" encoding="ISO-8859-1"?>

<!--
   Name:  SpatialDataOrganizationInformation.xsl
   Author:  James W. Allor, Matthew J. McCready
   Date:  20050906
   Description:  XSLT stylesheet that transforms the elements in the Spatial
                 Data Organization Information section of the GPMS from the
                 MIF to the MRF.
                 Please reference the MIF Specification and the GPMS Table 1.
   Modification History:
      Initial   Date      Change Request ID   Description
      JWA       20050906   N/A                 Initial Version 
      JWA       20051109   N/A                 Updated to reflect current MIF Spec.
-->

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" encoding="ISO-8859-1"/>


<xsl:template name="Spatial_Data_Organization_Information">

  <xsl:element name="Spatial_Data_Organization_Information">

    <xsl:copy-of select="Indirect_Spatial_Reference"/>
    <xsl:copy-of select="Direct_Spatial_Reference_Method"/>

  <xsl:element name="SDTS_Terms_Description">      
     <xsl:element name="SDTS_Point_and_Vector_Object_Type">G-polygon</xsl:element>
     <xsl:element name="Point_and_Vector_Object_Count"><xsl:value-of select="/MIF/Point_and_Vector_Object_Count"/></xsl:element>  

</xsl:element>

  </xsl:element>

</xsl:template>


</xsl:stylesheet>


<!-- Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.
<metaInformation>
<scenarios/><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/><MapperBlockPosition><template match="MIF"></template><template name="IdentificationInformation"></template></MapperBlockPosition></MapperMetaTag>
</metaInformation>
-->
