I created my own custom GeoTools datastore using version 2.3.5. I have been testing it using GeoServer 1.5.4. I am able to view my features using the WFS and WMS provided by geoserver, but I am having an issue when I run a WFS query that also contains PropertyNames.
If a PropertyName is included with the query, then GeoServer fails because of a runtime exception thrown by the GeoTools featureTransformer that says it could not locate the namespace. However, there is no problem if I omit then PropertyName and get all the properties. Does the FeatureReader returned by getFeatureReader(Query, Transaction) need to limit the FeatureType and Feature to the propertyNames contained in the query? The GeoTools documentation is not clear on this point. Currently, the featureReader I am returning in getFeatureReader does not pay attention to the properyNames contained in the Query argument and I think that is my problem. -- View this message in context: http://www.nabble.com/getFeatureReader%28Query%2C-Transaction%29-and-PropertyName-tp15164063p15164063.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
