Pitney Bowes MapXtreme User Manual

Page 398

Advertising
background image

Chapter 22: Web Feature Service

Configuring a WFS Server

MapXtreme v7.1

405

Developer Guide

6. To learn about the properties for the returned feature types, send a

DescribeFeatureType

request:
http://localhost/My_wfs/GetFeature.ashx?REQUEST=DescribeFeatureType&SERVI
CE=WFS&VERSION=1.0.0&Typename=miwfs:USA
This request returns a description of the properties for the feature type USA, including two
column names: State and State_Name.

7. To request features from the USA table, send a

GetFeature

request.

http://localhost/My_wfs/GetFeature.ashx?REQUEST=GetFeature&SERVICE=WFS&
VERSION=1.0.0&Typename=miwfs:USA&propertyname=miwfs:State_Name
This request returns features from the USA table as a FeatureCollection. Notice in the URL that
we requested only one of the two column properties, State_Name, for the USA table. If we had
not specified any property name, all properties in the table would be returned.

Advertising