Hi all, I am running Geoserver 2.5.2 via Tomcat on a Windows Server 2012 R2 Standard, with MS SQL Server Standard database [yes, i know, i couldn't go for another setup :)]
When trying to create a gs:IntersectionFeatureCollection process (using Demos\WPS Request Builder) between 2 existing local VECTOR_LAYERs, i get an error stating that "First feature collection must be polygonal or linear", even if both the layers contain only polygons. More than this, if i do a gs:Query on the same VECTOR_LAYER "rejected" above, set the process outputs to be "application/wfs-collection-1.0", run, capture the result XML (Developer Tools) and paste it as TEXT (application/wfs-collection-1.0) in the "Input feature collection" of the gs:IntersectionFeatureCollection process, IT WORKS (the second layer is referenced normally via VECTOR_LAYER), BUT if instead of TEXT, i define a gs:Query SUBPROCESS (same as above) in the "Input feature collection" of the gs:IntersectionFeatureCollection, it doesn't work. Basically i need to filter some of the polygons in the first layer, intersect the result with all the polygons in the second layer and then get back the resulting geometry for displaying it in OpenLayers. I only managed to do this by sending a WFS request for filtering, getting the geometry back in the browser and then sending it back as TEXT to the WPS process - this is not convenient when there are a lot of polygons. Thanks and regards, Marius -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WPS-Error-First-feature-collection-must-be-polygonal-or-linear-tp5176145.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users