WFS Geometry Type

Simpson asimpson at I-55.COM
Tue Jan 11 12:55:50 PST 2005


Greetings,

Why does a WFS GetFeature on a MULTIPOLYGON return features of type POLYGON?

Thanks for any advice,
Drew.



MapServer version 4.4.1


================= TABLE DEFINITION ==================================

 \d eden_isles
            Table "public.eden_isles"
   Column    |          Type          | Modifiers
-------------+------------------------+-----------
 name        | character(24)          | not null
 description | character varying(256) |
 the_geom    | geometry               |
Indexes:
    "eden_isles_pkey" primary key, btree (name)
Check constraints:
    "$1" CHECK (srid(the_geom) = 32615)
    "$2" CHECK (geometrytype(the_geom) = 'MULTIPOLYGON'::text OR the_geom IS
NULL)



================== CLIP FROM GETFEATURE ============================

- <gml:featureMember>
- <eden_isles>
- <gml:boundedBy>
- <gml:Box srsName="EPSG:32615">
  <gml:coordinates>808448.436179,3346874.759063
809028.768700,3347512.748240</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:polygonProperty>
- <gml:Polygon srsName="EPSG:32615">
- <gml:outerBoundaryIs>
- <gml:LinearRing>
  <gml:coordinates>808648.922836,3347482.383867 808689.408666,3347512.748240
808731.918788,3347510.723948 809028.768700,3347347.678164
808999.829937,3347312.515766 808942.349927,3347235.951690
808624.655123,3346894.569925 808600.569796,3346874.759063
808518.422442,3346891.416892 808492.635965,3346938.354231
808485.550944,3347008.192288 808490.611673,3347028.435203
808472.393050,3347095.236823 808448.436179,3347196.742520
808648.922836,3347482.383867</gml:coordinates>
  </gml:LinearRing>
  </gml:outerBoundaryIs>
  </gml:Polygon>
  </gml:polygonProperty>
  <name>eden_isles_marina</name>
  <description>marina</description>
  </eden_isles>
  </gml:featureMember>



More information about the MapServer-users mailing list