From the Geoserver Layers Preview page, is there a way to get the URL of the services in the 'All Formats' drop-down?

Alternately, is there a way to change which formats are listed in the 'Common Formats' column?

I've been sharing the Layer Preview page to external users as a way to give a quick way to share our data in various formats, but would like to, for example, give the URL for a CSV or SHP rather than send instructions to pull the drop-down menu.


The url is specified in the WMS GetMap Request. http://docs.geoserver.org/stable/en/user/services/wms/reference.html#getmap

It is similar to this



Looking at the HTML, we see that the URL is generated when selecting an item in the drop down menu. It has 2 base URLs, one for WMS and the other one for WFS, and then it adds the selected output format value to the base URL.

You could keep a list of the available format and replace the format from the common format link

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.