I have a problem with namespace Support in the getFeature Request of the WFS Plugin. Firstly i have to say that i'm fairly new to geotools. I searched the web and this list on this topic but could not find something that helps me out. So here is what i tried to do: We use a propietary WFS Server (not administrable to me) from which i want to get features through WFS Requests. I'm using the geotools 8.0-M2 to achieve this following the tutorial in the geotools documentation. I create a WFSDataStore through the DataStoreFinder#getDataStore method, a FeatureSource through from the datastore and a FeatureType through the the FeatureSource. Up to here everything is OK. Now i define a filter through the FilterFactory2(tried also with FilterFactoryNamespaceAware), added the filter to a Query and tried to get the features from the server. And here is my problem. The Request is generated with the standard Namespaces (gml, wfs, xml and so on). But the WFS Server requires to get the namespace declaration of the target namespace in the getFeatureRequest, otherwise it will not resolve the properties used in the filter (with namespace prefix). In short, i'm searching for a possibility to set additional namespace declarations in the GetFeature Request which i was not able to find so far.
Any hints are welcome, Andreas -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Namespace-Support-in-WFS-GetFeature-Request-tp6911991p6911991.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
