[Users] GeoExt 2 WfsCapabilitiesStore featureType name incorrect
Tobias Kirschke
tobias.kirschke at student.afg.hs-anhalt.de
Wed Apr 10 16:41:20 CEST 2013
I need the namespace prefix to build a getFeature-Url.
For example, I need the TYPENAME (lep:lsa_mlv_lep_zo_feature) in the
following URL.
http://www......de/ows/ws/wfs/GDI/?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=lep:lsa_mlv_lep_zo_feature&SRSNAME=EPSG:31468
How do I get the required information? Or is there another solution?
Tobias.
Am 10.04.2013 16:13, schrieb Andreas Hocevar:
> "world" is the correct name. You should not need the namespace prefix.
> What you usually need is the namespace uri, which you get from the
> namespace property of each record.
>
> Out of curiosity, why do you think you need the namespace prefix?
>
> Andreas.
>
> On Wed, Apr 10, 2013 at 1:51 PM, Tobias Kirschke
> <tobias.kirschke at student.afg.hs-anhalt.de> wrote:
>> Hi,
>>
>> I use WfsCapabilitiesStore like in the example
>> http://geoext.github.io/geoext2/examples/wfscapabilities/wfscapabilities.html
>>
>> So I get "world" as the featureType-Name, but I need the correct name
>> "tows:world". What can I do? Thanks.
>>
>> Tobias
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130410/4b6aae83/attachment.htm
More information about the Users
mailing list