- GeoServer Beginner's Guide(Second Edition)
- Stefano Iacovella
- 280字
- 2021-07-08 09:21:16
Limiting the SRS list from WMS
GeoServer supports many SRSs and can transform on-the-fly spatial features from one SRS to another. Sometimes, this may not be what you want; for example, if you are publishing data only in a few SRSs and want GeoServer to be heavily loaded from transformation requests. You will now learn how to limit the list of supported SRS:
Do you know that an SRS is a spatial reference system? If you are not reading the book from start to end, and this acronym sounds confusing, take a look at Chapter 1, GIS Fundamentals.
- On your browser, open the WMS capabilities. This is the standard output for the service description. It is an XML file, containing data published, operations supported, and other details. To open it, go to the main page of GeoServer's interface and click on the 1.3.0 link:

- You should get a huge XML file. Scroll down to All supported EPSG projections. The following screenshot shows just a few of them; you now have an idea of how many there are:

- Now, go to the Service section and click on WMS. Then scroll down and locate the Limited SRS list textbox. Insert the SRS code we will use throughout the book: 4326, 3857, 4269. Then click on the Submit button:

- Now repeat the capabilities request and search for the CRS section. Is there any difference? Consider the following screenshot:

We limited the SRS-supported list. This will make the capabilities file clearer, and it will also help some clients to deal with it. You can add or remove SRS from the list at any time, according to the data or maps you have to manage.
推薦閱讀
- Data Visualization with D3 4.x Cookbook(Second Edition)
- HTML5移動Web開發(fā)技術(shù)
- 零基礎(chǔ)玩轉(zhuǎn)區(qū)塊鏈
- PostgreSQL技術(shù)內(nèi)幕:事務處理深度探索
- 云原生Spring實戰(zhàn)
- Quarkus實踐指南:構(gòu)建新一代的Kubernetes原生Java微服務
- 網(wǎng)店設(shè)計看這本就夠了
- Mastering ServiceNow(Second Edition)
- Highcharts Cookbook
- Spring快速入門
- Python算法指南:程序員經(jīng)典算法分析與實現(xiàn)
- 0 bug:C/C++商用工程之道
- Mastering Web Application Development with AngularJS
- WCF技術(shù)剖析(卷1)
- Google Adsense優(yōu)化實戰(zhàn)