Hi,

I need to split a line in segment and for this I want to use the wps
vec:lrssegment from geoserver.

This wps accept 5 inputs :

<http://osgeo-org.1560.x6.nabble.com/file/t384766/wps_question.png> 

I give a vec (with VECTOR_LAYER from my liste of layer geoserver) with three
row (with the same line geometry that i want to split) :
     GEOMETRY,                   
START_SEGMENT,STOP_SEGMENT,START_LENGTH,STOP_LENGTH
1:  LINE_GEOMETRY(0,100),0                       ,15                    ,0      
             
,100
2   LINE_GEOMETRY(0,100),15                      ,22                   ,0       
            
,100
3   LINE_GEOMETRY(0,100),22                       ,100                ,0        
           
,100

I want that the function return to me 3 geometry with 3 segments. 

I give  :

- from_measure_attb = START_LENGTH
- to_measure_attb = STOP_LENGTH

For from_measure and to_measure, if I give juste one number (ex 0 and 15) I
have 3 times the same segment and geometry)

If I give the names of columns with the information of segment
(START_SEGMENT and STOP_SEGMENT) or I give list of number that doesn't work.
I have the message :

*Parameter from_measure is missing but has min multiplicity &amp;gt; 0*

Someone Have an idea to use this function for a list of geometry ?

Thanks in advance,

Best regards,

François,




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to