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.