ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

geowebcache发布 arcgis 瓦片

2021-08-10 17:02:06  阅读:270  来源: 互联网

标签:bin 瓦片 geowebcache 2.18 blog arcgis https geoserver


参考

 https://blog.csdn.net/hellfire2007/article/details/80876785?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_title~default-5.control&spm=1001.2101.3001.4242

https://blog.csdn.net/mgsky1/article/details/80151316

https://www.daimajiaoliu.com/daima/60c1de6d7826001

但是各有矛盾杂乱的地方,自己搞一遍

 

1 安装geowebcache

先检查geoserver的版本说明

比如2.18.1

http://geoserver.org/announcements/2020/11/23/geoserver-2-18-1-released.html

明确说道:

We are pleased to announce the release of GeoServer 2.18.1 with downloads ( war | bin ), documentation and extensions.

This release is made in conjunction with GeoTools 24.1 and GeoWebCache 1.18.1. This is a stable release recommended for production systems.

Thanks to everyone who contributed, and Alessandro Parma, Andrea Aime (GeoSolutions) for making this release.

 

官网下载指定版本geowebcache https://sourceforge.net/projects/geowebcache/files/geowebcache/

 

选择 geowebcache-1.18.1-war.zip

 

 

下载之后,把war扩展名直接改为zip,直接解压成geowebcache文件夹

直接把这个文件夹复制到

geoserver-2.18.1-bin\webapps 下

然后这下面有2个文件夹 

geoserver

geowebcache

启动geoserver

访问http://127.0.0.1:8080/geowebcache/

网页最下方显示

Storage Locations
Config file: XXX\geoserver-2.18.1-bin\data_dir\gwc\geowebcache.xml
Local Storage: XXX\geoserver-2.18.1-bin\data_dir\gwc

 

修改geowebcache.xml位置

按上面的路径复制geowebcache.xml 到别的位置,比如 D:\MapTileDownload\OutPut

修改XXX\geoserver-2.18.1-bin\webapps\geowebcache\WEB-INF\geowebcache-core-context.xml

  <bean id="gwcXmlConfig" class="org.geowebcache.config.XMLConfiguration">
    <constructor-arg ref="gwcAppCtx" />
    <!-- <constructor-arg ref="gwcDefaultStorageFinder" /> -->
    <constructor-arg value="D:\MapTileDownload\OutPut" /> 

参考 https://blog.csdn.net/weixin_34075268/article/details/91725108

增加一行

  <bean id="gwcArcGIGridsetConfigutation" class="org.geowebcache.arcgis.layer.ArcGISCacheGridsetConfiguration"/>

 

重启,显示新的路径说明修改成功

 

参考 https://www.cnblogs.com/haolb123/p/14663029.html

 

 

 

   

 

标签:bin,瓦片,geowebcache,2.18,blog,arcgis,https,geoserver
来源: https://www.cnblogs.com/xuanmanstein/p/15124707.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有