This is starting to get into the realm of modelling - so it would be pretty difficult for GeoServer to "just support" that sort of query. The way that you'd go about estimating the population could vary a lot based on what data you have (is it just historical population? what about disaster frequency, climate, economics...?)
GeoServer DOES have a framework for doing arbitrary calculations on spatial data though, it uses the OGC WPS (Web Processing Service) protocol to expose calculations to the client. You can read more about it here: http://docs.geoserver.org/stable/en/user/extensions/wps/index.html I believe the JavaScript and Python implementations of GeoScript ( http://geoscript.org/) have some features that simplify development of such custom processes, you could ask about that on the mailing list there: http://groups.google.com/group/geoscript/<http://groups.google.com/group/geoscript/?pli=1> -- David Winslow OpenGeo - http://opengeo.org/ On Tue, Sep 13, 2011 at 4:49 AM, Harshad S <[email protected]> wrote: > Hi, > > Yeah, CQL proves to be somewhat useful for me. But I don't > think it has the capabilities to do some sort of a 'What-if' analysis. Can > anyone clarify on this. > An example 'What-if' scenario that I am looking at is - 'What > will be the population of some state in 2020 given the inputs for the past > 20 years.' > Is support for such kind of queries already in Geoserver or it > needs to be implemented ? > > > > 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 > ____________________________________________ > > -----Rahkonen Jukka ** wrote: -----** > > To: 'Harshad S' <[email protected]> > From: Rahkonen Jukka <[email protected]> > Date: 09/13/2011 01:37PM > cc: "'[email protected]'" < > [email protected]> > > Subject: Re: [Geoserver-users] Reg Geoserver Spatial Query Extensions > > Hi, > > Perhaps something like CQL query? > http://docs.geoserver.org/latest/en/user/tutorials/cql/cql_tutorial.html > > -Jukka Rahkonen- > > Harshad S wrote > 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: > > http://docs.geoserver.org/latest/en/user/data/sqlview.html > > 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® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > >
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
