[mapguide-users] Query mapagent.fcgi through HTTP
Jim O'Leary
joleary.public at gmail.com
Tue Jul 13 17:57:21 EDT 2010
I would like to query the mapagent.fcgi directly, that is through a GET query
string like this:
/mapguide/mapagent/mapagent.fcgi?OPERATION=QUERYMAPFEATURES&VERSION=1.0.0.....
I have been able to do this, but note that when multiple features are
selected on the map, the response XML shows the IDs of all the selected
features, but only shows the properties of one feature, like this:
<FeatureInformation>
<FeatureSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"> <Layer
id="f0063a46-70f4-102d-8008-001e3748f600"> <Class id="SHP_Schema:Parcels">
<ID>xRsAAA==</ID>
<ID>xhsAAA==</ID>
<ID>xxsAAA==</ID>
<ID>yBsAAA==</ID>
</Class> </Layer></FeatureSet><Tooltip>Parcel\nName: RADTKE, MARK
R\nAddress: 1633 HURON AVE</Tooltip>
<Hyperlink />
<Property name="Description1" value="ORIGINAL PLAT" />
<Property name="Zone" value="RES" />
<Property name="Acreage" value="0.09" />
<Property name="Lot Dimensions" value="50X77" />
<Property name="Owner" value="RADTKE, MARK R" />
<Property name="Description2" value="W 17' OF N 50' OF LOT 5 &
N" />
<Property name="Description3" value="50' OF LOT 6 BLK 52" />
<Property name="Billing Address" value="1633 HURON AVE" />
<Property name="Lot Size (SqFt)" value="3850" />
<Property name="Description4" value="" />
</FeatureInformation>
Is there a way to get QUERYMAPFEATURES to return the properties for ALL of
the selected features? I see that it is not documented in the Web API.
Thanks
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Query-mapagent-fcgi-through-HTTP-tp5290000p5290000.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list