目前GML 3.1.0版本中所使用的几何模型的XML模式文档包括:geometryBasic0d1d.xsd、geometryBasic2d.xsd、geometryPrimitives.xsd、geometryAggregates.xsd、geometryComplexes.xsd。其中,geometryBasic0d1d.xsd 的部分类型和元素是为了兼容以前的GML2版本(GML2中只有一个模式geometry.xsd),其它的几个模式文档则完全是由新的类型和元素组成的。下图是GML中几何模型的类型层次。
<!--[if mso & !supportInlineShapes & supportFields]><span lang=EN-US><span style="mso-element:field-begin;mso-field-lock:yes" mce_style="mso-element:field-begin;mso-field-lock:yes"></span><span style='mso-spacerun:yes'> </span>SHAPE<span style="mso-spacerun:yes" mce_style="mso-spacerun:yes"> </span>/* MERGEFORMAT <span style="mso-element:field-separator" mce_style="mso-element:field-separator"></span></span><![endif]--><!--[if gte vml 1]><v:group id="_x0000_s1026" editas="canvas" style='width:372pt;height:255pt;mso-position-horizontal-relative:char; mso-position-vertical-relative:line' coordorigin="1613,8238" coordsize="7200,5100"> <o:lock v:ext="edit" aspectratio="t" /> <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="_x0000_s1027" type="#_x0000_t75" style='position:absolute; left:1613;top:8238;width:7200;height:5100' o:preferrelative="f"> <v:fill o:detectmouseclick="t" /> <v:path o:extrusionok="t" o:connecttype="none" /> <o:lock v:ext="edit" text="t" /> </v:shape><v:rect id="_x0000_s1028" style='position:absolute;left:4632;top:8238; width:1163;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1028" mce_style="mso-next-textbox:#_x0000_s1028"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><i style="mso-bidi-font-style:normal" mce_style="mso-bidi-font-style:normal"><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">_Geometry<o:p></o:p></span></i></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:shapetype id="_x0000_t5" coordsize="21600,21600" o:spt="5" adj="10800" path="m@0,l,21600r21600,xe"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="val #0" /> <v:f eqn="prod #0 1 2" /> <v:f eqn="sum @1 10800 0" /> </v:formulas> <v:path gradientshapeok="t" o:connecttype="custom" o:connectlocs="@0,0;@1,10800;0,21600;10800,21600;21600,21600;@2,10800" textboxrect="0,10800,10800,18000;5400,10800,16200,18000;10800,10800,21600,18000;0,7200,7200,21600;7200,7200,14400,21600;14400,7200,21600,21600" /> <v:handles> <v:h position="#0,topLeft" xrange="0,21600" /> </v:handles> </v:shapetype><v:shape id="_x0000_s1029" type="#_x0000_t5" style='position:absolute; left:5097;top:8748;width:232;height:170' /> <v:line id="_x0000_s1030" style="position:absolute" mce_style="position:absolute" from="5213,8918" to="5213,9088" /> <v:line id="_x0000_s1031" style="position:absolute" mce_style="position:absolute" from="3703,9088" to="7536,9089" /> <v:rect id="_x0000_s1032" style='position:absolute;left:2774;top:9258;width:1859; height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1032" mce_style="mso-next-textbox:#_x0000_s1032"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><i style="mso-bidi-font-style:normal" mce_style="mso-bidi-font-style:normal"><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">_GeometricPrimitive<o:p></o:p></span></i></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1033" style='position:absolute;left:4748;top:9258; width:1742;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1033" mce_style="mso-next-textbox:#_x0000_s1033"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">GeometricComplex<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1034" style='position:absolute;left:6607;top:9258; width:1974;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1034" mce_style="mso-next-textbox:#_x0000_s1034"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><i style="mso-bidi-font-style:normal" mce_style="mso-bidi-font-style:normal"><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">_ GeometricAggregate<o:p></o:p></span></i></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:line id="_x0000_s1035" style="position:absolute" mce_style="position:absolute" from="3703,9088" to="3703,9258" /> <v:line id="_x0000_s1036" style="position:absolute" mce_style="position:absolute" from="5561,9088" to="5561,9258" /> <v:line id="_x0000_s1037" style="position:absolute" mce_style="position:absolute" from="7536,9088" to="7536,9258" /> <v:shape id="_x0000_s1038" type="#_x0000_t5" style='position:absolute;left:7536; top:9768;width:232;height:170' /> <v:line id="_x0000_s1039" style="position:absolute" mce_style="position:absolute" from="7652,9938" to="7653,10108" /> <v:shape id="_x0000_s1040" type="#_x0000_t5" style='position:absolute;left:3587; top:9768;width:232;height:170' /> <v:line id="_x0000_s1041" style="position:absolute" mce_style="position:absolute" from="3703,9938" to="3704,10108" /> <v:rect id="_x0000_s1042" style='position:absolute;left:4400;top:10278; width:813;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1042" mce_style="mso-next-textbox:#_x0000_s1042"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><i style="mso-bidi-font-style:normal" mce_style="mso-bidi-font-style:normal"><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">_Solid<o:p></o:p></span></i></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1043" style='position:absolute;left:3355;top:10278; width:929;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1043" mce_style="mso-next-textbox:#_x0000_s1043"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><i style="mso-bidi-font-style:normal" mce_style="mso-bidi-font-style:normal"><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">_Surface<o:p></o:p></span></i></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1044" style='position:absolute;left:2426;top:10278; width:813;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1044" mce_style="mso-next-textbox:#_x0000_s1044"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><i style="mso-bidi-font-style:normal" mce_style="mso-bidi-font-style:normal"><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">_Curve<o:p></o:p></span></i></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1045" style='position:absolute;left:1613;top:10278; width:697;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1045" mce_style="mso-next-textbox:#_x0000_s1045"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">Point<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1046" style='position:absolute;left:7419;top:10958; width:1278;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1046" mce_style="mso-next-textbox:#_x0000_s1046"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">MultiSurface<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1047" style='position:absolute;left:5329;top:10278; width:1161;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1047" mce_style="mso-next-textbox:#_x0000_s1047"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">MultiPoint<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1048" style='position:absolute;left:5910;top:10958; width:1392;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1048" mce_style="mso-next-textbox:#_x0000_s1048"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">MultiGeometry<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1049" style='position:absolute;left:6607;top:10278; width:1161;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1049" mce_style="mso-next-textbox:#_x0000_s1049"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">MultiCurve<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1050" style='position:absolute;left:7875;top:10274; width:938;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1050" mce_style="mso-next-textbox:#_x0000_s1050"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:7.5pt" mce_style="font-size:7.5pt">MultiSolid<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:line id="_x0000_s1051" style="position:absolute" mce_style="position:absolute" from="5910,10108" to="8348,10109" /> <v:line id="_x0000_s1052" style="position:absolute" mce_style="position:absolute" from="6258,10108" to="6259,10958" /> <v:line id="_x0000_s1053" style="position:absolute" mce_style="position:absolute" from="5910,10108" to="5910,10278" /> <v:line id="_x0000_s1054" style="position:absolute" mce_style="position:absolute" from="8348,10108" to="8348,10278" /> <v:line id="_x0000_s1055" style="position:absolute" mce_style="position:absolute" from="8116,10108" to="8117,10958" /> <v:line id="_x0000_s1056" style="position:absolute" mce_style="position:absolute" from="7187,10108" to="7187,10278" /> <v:line id="_x0000_s1057" style="position:absolute" mce_style="position:absolute" from="2078,10108" to="4748,10108" /> <v:line id="_x0000_s1058" style="position:absolute" mce_style="position:absolute" from="2078,10108" to="2078,10278" /> <v:line id="_x0000_s1059" style="position:absolute" mce_style="position:absolute" from="2890,10108" to="2890,10278" /> <v:line id="_x0000_s1060" style="position:absolute" mce_style="position:absolute" from="3819,10108" to="3819,10278" /> <v:line id="_x0000_s1061" style="position:absolute" mce_style="position:absolute" from="4748,10108" to="4748,10278" /> <v:shape id="_x0000_s1062" type="#_x0000_t5" style='position:absolute;left:2774; top:10788;width:233;height:170' /> <v:line id="_x0000_s1063" style="position:absolute" mce_style="position:absolute" from="2890,10958" to="2891,11128" /> <v:line id="_x0000_s1064" style="position:absolute" mce_style="position:absolute" from="1961,11128" to="3819,11129" /> <v:shape id="_x0000_s1065" type="#_x0000_t5" style='position:absolute;left:4865; top:10788;width:232;height:170' /> <v:line id="_x0000_s1066" style="position:absolute" mce_style="position:absolute" from="4981,10958" to="4982,11638" /> <v:line id="_x0000_s1067" style="position:absolute" mce_style="position:absolute" from="4981,11638" to="6607,11639" /> <v:rect id="_x0000_s1068" style='position:absolute;left:6258;top:11808; width:1510;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1068" mce_style="mso-next-textbox:#_x0000_s1068"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">CompositeSolid<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1069" style='position:absolute;left:5445;top:11808; width:698;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1069" mce_style="mso-next-textbox:#_x0000_s1069"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">Solid<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:shape id="_x0000_s1070" type="#_x0000_t5" style='position:absolute; left:4052;top:10788;width:232;height:170' /> <v:line id="_x0000_s1071" style="position:absolute" mce_style="position:absolute" from="4168,10958" to="4169,11808" /> <v:line id="_x0000_s1072" style="position:absolute" mce_style="position:absolute" from="6607,11638" to="6607,11808" /> <v:rect id="_x0000_s1073" style='position:absolute;left:3239;top:11978; width:1509;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1073" mce_style="mso-next-textbox:#_x0000_s1073"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">CompositeCurve<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1074" style='position:absolute;left:1613;top:11978; width:1510;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1074" mce_style="mso-next-textbox:#_x0000_s1074"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">OrientableCurve<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1075" style='position:absolute;left:2890;top:11298; width:813;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1075" mce_style="mso-next-textbox:#_x0000_s1075"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">Curve<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1076" style='position:absolute;left:1613;top:11298; width:1161;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1076" mce_style="mso-next-textbox:#_x0000_s1076"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">LineString<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1077" style='position:absolute;left:3007;top:12828; width:929;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1077" mce_style="mso-next-textbox:#_x0000_s1077"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">Surface<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1078" style='position:absolute;left:1845;top:12828; width:929;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1078" mce_style="mso-next-textbox:#_x0000_s1078"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">Polygon<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1079" style='position:absolute;left:6142;top:12828; width:1626;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1079" mce_style="mso-next-textbox:#_x0000_s1079"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">CompositeSurface<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:rect id="_x0000_s1080" style='position:absolute;left:4284;top:12828; width:1627;height:510'> <v:textbox style="mso-next-textbox:#_x0000_s1080" mce_style="mso-next-textbox:#_x0000_s1080"> <![if !mso]> <table cellpadding=0 cellspacing=0 width="100%"> <tr> <td><![endif]> <div> <p class=MsoNormal><span lang=EN-US style="font-size:9.0pt" mce_style="font-size:9.0pt">OrientableSurface<o:p></o:p></span></p> </div> <![if !mso]></td> </tr> </table> <![endif]></v:textbox> </v:rect><v:line id="_x0000_s1081" style="position:absolute" mce_style="position:absolute" from="5794,11638" to="5794,11808" /> <v:line id="_x0000_s1082" style="position:absolute" mce_style="position:absolute" from="2310,11128" to="2310,11298" /> <v:line id="_x0000_s1083" style="position:absolute" mce_style="position:absolute" from="3239,11128" to="3239,11298" /> <v:line id="_x0000_s1084" style="position:absolute" mce_style="position:absolute" from="1961,11128" to="1961,11978" strokeweight="1pt" /> <v:line id="_x0000_s1085" style="position:absolute" mce_style="position:absolute" from="3819,11128" to="3819,11978" /> <v:line id="_x0000_s1086" style="position:absolute" mce_style="position:absolute" from="4168,11808" to="5097,11808" /> <v:line id="_x0000_s1087" style="position:absolute" mce_style="position:absolute" from="5097,11808" to="5097,12658" /> <v:line id="_x0000_s1088" style="position:absolute" mce_style="position:absolute" from="2310,12658" to="6839,12658" /> <v:line id="_x0000_s1089" style="position:absolute" mce_style="position:absolute" from="2310,12658" to="2310,12828" /> <v:line id="_x0000_s1090" style="position:absolute" mce_style="position:absolute" from="3471,12658" to="3471,12828" /> <v:line id="_x0000_s1091" style="position:absolute" mce_style="position:absolute" from="5097,12658" to="5097,12828" /> <v:line id="_x0000_s1092" style="position:absolute" mce_style="position:absolute" from="6839,12658" to="6839,12828" /> <w:wrap type="none" /> <w:anchorlock /> </v:group><![endif]--><!--[if mso & !supportInlineShapes & supportFields]><span lang=EN-US><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:372pt; height:255pt'> <v:imagedata croptop="-65520f" cropbottom="65520f" /> </v:shape><span style="mso-element:field-end" mce_style="mso-element:field-end"></span></span><![endif]-->
其中,_Geometry元素是所有GML3几何元素的置换组的抽象头(head)元素,这包括预定义的和用户自定义的几何元素。任何几何元素必须是抽象几何类型(AbstractGeometryType)的直接或间接的扩充或限制,同时必须直接或间接属于_Geometry置换组。
从图中可以看出,几何模型分为基本几何(geometric primitives)、聚合几何(aggregates)和复杂几何(complexes)。
基本几何(也就是AbstractGeometricPrimitiveType的子类型的实例)可被打开,就是说它们不包含边界点。曲线(curves)不包含终点,面(surfaces)不包含边界曲线,体(solids)不包含边界面。
聚合几何(也就是AbstractGeometricAggregateType的子类型的实例),是几何元素的任意聚合。它们被假定为没有任何附加的内部结构,是许多指定类型的几何的聚合。应用模式可按自己的表达方式为需要多个几何对象描述的要素使用聚合。
复杂几何(即GeometricComplexType的实例)是基本几何的闭集,即它们包含边界。
下面就以基本几何中的二维图元Polygon为例说明一下在GML中如何表示地理特征。在GML中定义的Polygon的Schema为:
<complexType name="PolygonType">
<complexContent>
<extension base="gml:AbstractSurfaceType">
<sequence>
<element ref="gml:exterior" minOccurs="0" />
<element ref="gml:interior" minOccurs="0"
maxOccurs="unbounded" />
</sequence>
</extension>
</complexContent>
</complexType>
<element name="Polygon" type="gml:PolygonType"
substitutionGroup="gml:_Surface" />
Polygon是一个多边形的曲面,元素exterior和interior分别描述了多边形的曲面的内外边界,他们的定义如下:
<element name="exterior" type="gml:AbstractRingPropertyType" />
一个由许多环组成的曲面的边界。在标准的2维情况下,这些环中的一个作为外部边界区别于其它环。在通常的多种情况下,所有的边界都作为内部边界列出来且外部边界为空不总是可能的。
<element name="interior" type="gml:AbstractRingPropertyType" />
一个由许多环组成的曲面的边界。“interior”环将曲面或者曲面片从由环闭合形成的区域中分开。gml:AbstractRingPropertyType封装一个环来表示曲面的曲面边界特性。