-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Andrea,

thank you very much for your fast response!

Then I would prefer a specific solution for my issue meaning to just
add the missing namespace declaration to the getfeature request.

Can you tell me the class/ method where I have to put that string into?


Regards

Sebastian

Am 12.02.2014 11:38, schrieb Andrea Aime:
> On Wed, Feb 12, 2014 at 11:17 AM, Sebastian Goerke
> <[email protected] <mailto:[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
> 
> -------------------------------------------------------

- -- 
l a t / l o n  GmbH
Aennchenstrasse 19               53177 Bonn, Germany
phone ++49 +228 18496-0          fax ++49 +228 18496-29
http://www.lat-lon.de            http://www.deegree.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlL7XM0ACgkQq1hDh4aJykJOlgCdGPwLVDxye9AVQbouA9Wmt8z5
KJsAn2L8VRYkFjN7bWV2vAO5KdVkiUIM
=s4yz
-----END PGP SIGNATURE-----

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

Reply via email to