Geoserver - How to restrict only a layer instead of giving the whole service?

المشرف العام

Administrator
طاقم الإدارة
Scenario(example):

I have a database called MYDB linked to geoserver. In geoserver i have a workspace called A where A has a store connect to my MYDB.In section layers i published 4 layers called waters, buildings, roads and people. My question is how can i provide an url for each published layer separatly.

For example for layer waters i will have the following wms url:http://localhost:8080/geoserver/geonode/wms?service=WMS&version=1.1.0&request=GetMap&layers=A:waters

When i connect this url into qgis it will connect to the whole workspace.

Question:

How can i ensure that only will display one specific layer or group of layers?

Note that if i call in openlayers it will filter only the specific layer but in QGIS it will connect with the entire workspace.



أكثر...
 
أعلى