On Tue, Sep 11, 2012 at 10:19 AM, Simon Hartley <[email protected]>wrote:

> Reloading the configuration did the trick.****
>
> ** **
>
> For your info, for the query:****
>
> SELECT ST_GeomFromText( 'LINESTRING(%ROUTELINE%)' )****
>
> In the UI I get:****
>
> ERROR: parse error - invalid geometry Hint: "LINESTRING()" <-- parse error
> at position 13 within geometry
>

This happens because you did not provide a default value for ROUTELINE, the
parameter gets
substituted with the empty string while trying to figure out the structure
of the data returned by the query
if you don't provide one.

Just give it two points and you should be fine

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:   +39 0584 962313
mob:   +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to