I develop an application of webmapping using GeoServer, GeoExt and ExtJS. I want to search my points of interests (layer that exist in GeoServer) so i create a two combox where i have to put the categorie of my points of interest and the name of my point of interest(optional). My data base is in PostgreSQL.

Any idea guys of how i should proced ?


Publish your points with WFS service and make your client to build CQL Filters. If you are brave or want your application to work also with other WFS servers than only Geoservers you can use filters which are build according to the Filter Encoding standard of OGC. These CQL filter examples are hitting the demo server of Boundless and you will receive some real data if the server is up.

Select all states called 'Connecticut'


Select all states called 'Connecticut' which have STATE_FIPS code '09'


Select all states called 'Connecticut' which have STATE_FIPS code '08' (none will be found)


Reading about CQL filters is here http://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html

  • Thank you for your answer. I publied my layer with WFS service (GeoJSON) and it appear a page that contain the attributs of my layer. Now how can i build CQL Filters and how to integrate it to my application ? – YSN KHL Jun 2 '14 at 13:49
  • Sorry, I have absolutely no experience on making web applications. Let's hope that some JavaScript coders will help you further. Meanwhile you can try to find something from the web. – user30184 Jun 2 '14 at 13:56
  • finally it works for me !! i used CQL Filter as u said to me ! thank youuu. – YSN KHL Jun 5 '14 at 1:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.