Monday, 4 April 2016

arcobjects - Setting CQL_FILTER on WMS in ArcGIS?


Is it at all possible to use a CQL_FILTER on a WMS service in ArcGIS? Ideally we'd be able to programatically change the CQL_FILTER parameter in the WMS URL.



Answer



No. The list of valid parameters is here.


CQL_filter is a geotools "vendor parameter". Vendor parameters are options that are not defined in the official WMS specification, but are allowed by it. The danger in using it is that no client is obligated to use it, or even to acknowlege that it exists.


ArcGIS does expose a query interface using a web form, but I don't think this is going to help you.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...