Anybody know why the geoserver does not implement a direct sql query when setup a layer?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The developers just hadn’t gotten around to it yet. (There is not a huge need for this feature since GeoServer can serve a database view as easily as a table.) However, now GeoServer is able to dynamically alter the SQL used to fetch feature data from databases. This functionality is discussed in the GeoServer users manual at http://docs.geoserver.org/stable/en/user/data/database/sqlview.html