Skip to main content
Bumped by Community user
spelling corrections and added relevant tag
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. 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 retieveretrieve the "geometryName"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?

Any help is appreciated!!!!

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. 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?

Any help is appreciated!!!!

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. 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 retrieve 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?

fixed grammar and spelling
Source Link
CaptDragon
  • 13.4k
  • 7
  • 55
  • 96

I triedUsing WFSGetCapabilities andI sent a GetCapabiliteisGetCapabilities request to geoservrGeoServer. 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, iI 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.

myMy question is, how: How can I get the full name (with namespace prefix) in order to execute this DescribeFeatureType request and retrieve the geometryName property?

appreciate any helpsAny help is appreciated!!!!

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!!!!

Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. 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?

Any help is appreciated!!!!

Tweeted twitter.com/#!/StackGIS/status/110150771647057920
added 63 characters in body
Source Link
Simon
  • 1.2k
  • 4
  • 17
  • 29
Loading
Source Link
Simon
  • 1.2k
  • 4
  • 17
  • 29
Loading