[Zoo-discuss] escape character in input

Fenoy Gerald gerald.fenoy at geolabs.fr
Wed Apr 3 10:35:00 PDT 2013


Hi Monia,
I think the best way is to try to pass the string in a POST request. 

Nevertheless, you can also try using urlencode [1] twice on the string and use this value as input value [2].

Hope this helps.

Best regards,

[1] http://meyerweb.com/eric/tools/dencoder/
[2] DataInputs=a=SRID%253D21871%253BLINESTRING(700000%2520100000%252C750000%2520150000%252C%2520760000%2520155000)

Le 3 avr. 2013 à 19:24, Monia Molinari <moni.molinari at gmail.com> a écrit :

> Hi all,
> I'm trying to set as input of my WPS service an ewkt string like this:
> 
> "SRID=21871;LINESTRING(700000 100000,750000 150000, 760000 155000)"
> 
> but during the input data parsing of a GET request the semicolon is considered as separator and only  "SRID=21871" is considered as input ... how this problem can be solved?
> 
> Thanks!
> 
> Monia
> 
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss



Gérald Fenoy
gerald.fenoy at geolabs.fr



More information about the Zoo-discuss mailing list