I have managed to download a zipped shapefile from geoserver but now I want to be able to download part of the layer in a shapefile. This is what I did in order to download the whole layer as shapefile:


I have also managed to apply a single CQL filter based on the answer of Passing Filter Parameters to GeoServer WFS via URL?

How can I apply multiple CQL filters in the same URL? I read Passing Filter Parameters to GeoServer WFS via URL? that I need to encode the 'and' string in the CQL part of the URL. Is there an example illustrating this?

  • Read the comment more carefully. What needs to be encoded is not "AND" but the spaces around it. The result after encoding is %20AND%20. – user30184 May 9 '16 at 11:19
  • Its not necessary to encode the spaces. The browser takes care of it automatically. – user1919 May 9 '16 at 11:56
  • 2
    It is necessary to encode the spaces somewhere and while browsers may do it it automatically the referenced question was dealing with PHP's CURL. It seems that it required explicit url-encoding. – user30184 May 9 '16 at 12:08