[RESOLVED:] [mapserver-users] How do I get WFS vector type (LINE, POINT or POLYGON) from mapserver WFS query?

Peter Willis peterw at borstad.com
Thu May 28 13:38:41 PDT 2009


O.K., that was brief and non-productive....

The 'getFeature' query XML results have ms:msGeometry entries.

ie:

<ms:msGeometry>
-
<gml:Polygon srsName="EPSG:4269">  <<--------------------HERE!!
-
<gml:outerBoundaryIs>
-
<gml:LinearRing>
-
<gml:coordinates>
</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</ms:msGeometry>


Sorry about that.


Peter





Peter Willis wrote:
> 
> Hello,
> 
> I am using mapserver as a WFS server.
> 
> When I query getCapabilities I get he following capabilities:
> 
> - GetCapabilities
> - DescribeFeatureType
> - GetFeature
> 
> I also get a list of features.
> 
> If I then make 'describeFeatureType' or 'getFeature' requests for
> one of the features on the list I get a non verbose description
> of the feature, or the GML for the feature.
> 
> There doesn't appear to be anything that discloses if the feature
> is a POINT, LINE, or POLYGON type feature.
> 
> The map file layers are defined properly as POINT, LINE, POLYGON
> as the case may be.
> 
> Am I querying mapserver correctly?
> 
> What am I overlooking in the XML?
> 
> Thanks,
> 
> Peter



More information about the MapServer-users mailing list