I want to display the contents of my PostGIS database of various shape-files in leaflet pop-up dynamically. I know there are static methods available that retrieves attributes. But I need to by passing SQL Queries to PostGIS database and retrieve the result as a GeoJSON file and display it in my map using leaflet. Is there any method to retrieve SQL queries into a GeoJSON file using JSP ?
أكثر...
أكثر...