Hi Marcus, This is a bug indeed. I have raised it here: https://jira.codehaus.org/browse/GEOT-4471. The bug only occurs when filtering by xpath attributes with types (i.e. gsml:MappedFeature) that has a geometry attribute with native CRS (from the database), i.e. gsml:shape. It doesn't occur with the 3rd query because the underlying type doesn't have any geometry attribute. I know removing gsml:shape from the mapping file is not an option.. so there isn't really a workaround unfortunately.
Cheers Rini -- View this message in context: http://osgeo-org.1560.x6.nabble.com/app-schema-query-fails-with-org-geotools-feature-NameImpl-cannot-be-cast-to-org-opengis-feature-typer-tp5053444p5055874.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
