Hello all,
I'm trying to use GS 2.4.0 WPS for returning the points coordinates of the intersection between lines. First layer is a vector layer from my GeoServer (lines), the second is a custom line that can be given with WKT or JSON, for instance.
I tried two queries :
- vec:Clip > that process needs WKT for the custom line (as "clip" input), and the GS vector layer as "features" input. In that case, return is two point very far from my original line, at the end of the map (lon=-179.99). My line is LINESTRING(8.107 41.327, 9.953 41.327)
- vec:IntersectionFeatureCollection > this one requires a JSON FeatureCollection for my custom line, and the GS vector layer. This time, the result is 2 points : the exact coordinates of the input line !
But between the two point of this line, I know there are many lines from the vector layer from GS that are intersected. These are the coordinates I want to get.
Does anyone know how to get this type of result ? Thanks !
Gabriel