Geoserver发布地图服务

利用Geoserver发布地图服务,服务类型WMS。

(1)新建工作空间

(2)存储仓库

添加shp数据

(3)新建图层

发布

(4)图层预览

点击图层预览

点击Openlayers查看,通过F12调出Chrome调试窗口。再点击F5刷新网页。

产看source中新增的资源。

http://127.0.0.1:8180/geoserver/ZhongXiu/wms?service=WMS&version=1.1.0&request=GetMap&layers=ZhongXiu%3AZhongXBuildings_WGS84&bbox=120.89960366300011%2C32.01736570000003%2C120.9066340470001%2C32.02327381500006&width=768&height=645&srs=EPSG%3A4326&styles=&format=text%2Fhtml%3B%20subtype%3Dopenlayers

(5)修改样式

 

(6)添加图层组

添加现有图层

(7)图层组浏览

 

图层切片生成路径: C:\Users\yhexie\AppData\Local\Temp\geowebcache

参考:

http://www.taodudu.cc/news/show-6306554.html?action=onClick

 

posted @ 2023-08-23 13:57  太一吾鱼水  阅读(194)  评论(0)    收藏  举报