Hi,

         Thanks Andrea for the response.
         By a query, I mean not any SQL query, but simple attribute queries based on the attributes of the spatial data. Also, do you have any idea whether Geoserver provides support for 'What-if' spatial queries.


Thank You.
Harshad Shrikhande
Assistant Systems Engineer
TCS Innovations Infra Lab, Chennai
Tata Consultancy Services
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________

[email protected] wrote: -----
To: Harshad S <[email protected]>
From: Andrea Aime
Sent by: [email protected]
Date: 09/13/2011 12:12PM
cc: [email protected]
Subject: Re: [Geoserver-users] Reg Geoserver Spatial Query Extensions

On Tue, Sep 13, 2011 at 7:43 AM, Harshad S <[email protected]> wrote:
Hello all,
 
       I am new to Geoserver. I require spatial queries(to PostGIS)  to be run from the Geoserver web interface itself.  Does it have an extension for doing this or it's inbuilt into Geoserver. I am using the Geoserver version 2.1- Snapshot.

You mean, any sql query, interactively? That's not possible, it would be a wide open door to a SQL injection attack.
An administrator can configure a parametric query as a source for a new layer though, being very careful about
parameter validation to avoid attacks:


Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you



------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to