[OpenLayers-Users] WFS request to GeoServer to retrieve "name" &
"featureNS"
Simon
liuxd8510 at gmail.com
Sat Sep 3 22:03:31 EDT 2011
I tried WFSGetCapabilities and sent a GetCapabiliteis request to geoservr.
>From the result of WFSGetCapabilities().read(), I can loop each featureType
and retrieve some basic info(e.g., name, title, featureNS, srsName). Then in
order to retieve the "geometryName" property of this feature type, (which is
needed to load this featureLayer into map), I sent a DescribeFeatureType
request to server by attaching "&TypeName="feature.name. However, i found
that the full name of the feature is truncated, i.e., feature.name is the
feature's name without its namespace prefix. However, this namespace prefix
is needed in DescribeFeatureType request URL.
my question is, how can I get the full name (with namespace prefix) in order
to execute this DescribeFeatureType request and retrieve the geometryName
property?
appreciate any helps!!!!
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WFS-request-to-GeoServer-to-retrieve-name-featureNS-tp6757618p6757618.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list