On Wed, Feb 12, 2014 at 11:17 AM, Sebastian Goerke <[email protected]>wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Dear Geotools community,
>
> I have got an issue with using geotools as a WFS client for a web
> application. The WFS to request uses Featuretypes with multiple
> namespace declarations, for example ns1:Featuretype/ns2:property.
>
> The GetFeature requests created by Geotools do only recognize the
> featuretypes namespace ns1.
>
> My question is, how can I manipulate the GetFeature requests to
> include the property's namespace aswell, so that the response is not a
> service exception caused by a not declared namespace. Important to
> know is, that the ns2:property is used within a bbox filter as it is a
> geometry property.
>
> I tried to set WFSDataStoreFactory:NAMESPACE parameter with the value:
> "xmlns:dog='http://www.lverma.nrw.de/namespaces/dog'
> xmlns:iso19112='http://www.opengis.net/iso19112'"
>
> But I am not sure if this will work or is defined correctly.
>
> Maybe someone of you has an idea?
>
The WFS client is an unsupported module with several limitations, one of
them
is the one you found, it can only handle flat features with a single
namespace.
If you manage to fix it let us know, a pull request is always welcomed
Cheers
Andrea
--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users