| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 767d731 commit 32ae90f
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -248,9 +248,9 @@ | |||
| 248 | 248 | { | |
| 249 | 249 | "title": "常见问题", | |
| 250 | 250 | "icon": "iconchangjianwenti", | |
| 251 | - "hightlights": [[false, false, false, false, false, false]], | ||
| 251 | + "hightlights": [[false, false, false, false, false, false, true]], | ||
| 252 | 252 | "links": [ | |
| 253 | - ["OGC-WMTS", "ArcServer-WMS", "ArcServer-要素图层", "矢量瓦片-介绍", "矢量瓦片-离线部署", "矢量瓦片-几何&符号"] | ||
| 253 | + ["OGC-WMTS", "ArcServer-WMS", "ArcServer-要素图层", "矢量瓦片-介绍", "矢量瓦片-离线部署", "矢量瓦片-几何&符号", "矢量瓦片-发布"] | ||
| 254 | 254 | ], | |
| 255 | 255 | "routes": [ | |
| 256 | 256 | [ | |
@@ -259,7 +259,8 @@ | |||
| 259 | 259 | "/helper/mapboxgl/arcserver/featurelayer/index", | |
| 260 | 260 | "/helper/mapboxgl/vectortile/index", | |
| 261 | 261 | "/helper/mapboxgl/vectortile/deploy", | |
| 262 | - "/helper/mapboxgl/vectortile/style" | ||
| 262 | + "/helper/mapboxgl/vectortile/style", | ||
| 263 | + "/helper/mapboxgl/vectortile/publish" | ||
| 263 | 264 | ] | |
| 264 | 265 | ], | |
| 265 | 266 | "type":"helper" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,41 @@ | |||
| 1 | + ## 问题描述 | ||
| 2 | + | ||
| 3 | + > mapgis桌面程序导出矢量瓦片数据是,里面所有的链接地址都是localhost:6163,上传到igs(JAVA)服务器后,链接地址仍未做修改,因此或造成客户端无法访问服务器资源的问题。 | ||
| 4 | + | ||
| 5 | + ## 如何解决 | ||
| 6 | + | ||
| 7 | + # 一、矢量瓦片数据已经上传到到igs(JAVA)服务器,但未保存最原始的样式文件 | ||
| 8 | + | ||
| 9 | + > 1、进入管理台 | ||
| 10 | + > 2、点击左边菜单栏的地图与数据服务 | ||
| 11 | + | ||
| 12 | + <img src="../../static/assets/guid/vectorStep1.png" alt="步骤一" width="1034" height="600" align="bottom" /> | ||
| 13 | + | ||
| 14 | + > 3、点击矢量瓦片资源管理,选择上传按钮,上传数据 | ||
| 15 | + | ||
| 16 | + <img src="../../static/assets/guid/vectorStep2.png" alt="步骤二" width="1034" height="600" align="bottom" /> | ||
| 17 | + | ||
| 18 | + > 4、上传完成后点击矢量瓦片资源管理,选择查看按钮 | ||
| 19 | + | ||
| 20 | + <img src="../../static/assets/guid/vectorStep3.png" alt="步骤三" width="1034" height="600" align="bottom" /> | ||
| 21 | + | ||
| 22 | + > 5、这里可以看到已上传的矢量瓦片资源 | ||
| 23 | + | ||
| 24 | + <img src="../../static/assets/guid/vectorStep4.png" alt="步骤四" width="1034" height="600" align="bottom" /> | ||
| 25 | + | ||
| 26 | + > 6、在右侧的资源列表里选择你刚刚发布的资源,我这里选择名称为‘北京市_Java’的矢量瓦片,并点击预览按钮,进入到矢量瓦片编辑页面 | ||
| 27 | + | ||
| 28 | + <img src="../../static/assets/guid/vectorStep5.png" alt="步骤五" width="1034" height="600" align="bottom" /> | ||
| 29 | + | ||
| 30 | + > 7、在编辑界面的最上方的工具栏中选择保存按钮,点击下载样式按钮,下载刚刚上传矢量瓦片资源 | ||
| 31 | + | ||
| 32 | + <img src="../../static/assets/guid/vectorStep6.png" alt="步骤五" width="1034" height="600" align="bottom" /> | ||
| 33 | + <img src="../../static/assets/guid/vectorStep7.png" alt="步骤五" width="1034" height="600" align="bottom" /> | ||
| 34 | + | ||
| 35 | + > 8、打开下载好的样式文件,将所有的locaolhost:6163替换为当前igs(JAVA)服务的地址即可,之后重复第三步上传矢量瓦片资源, | ||
| 36 | + > 由于下载的文件名英文字母会全部变成小写,请在上传前确保文件名与地图名称完全一致,这样即可正常访问矢量瓦片。 | ||
| 37 | + | ||
| 38 | + # 二、可以拿到最原始的样式文件 | ||
| 39 | + | ||
| 40 | + > 1、打开原样式文件,将所有的locaolhost:6163替换为当前igs(JAVA)服务的地址即可,之后重复上述第三步上传矢量瓦片资源, | ||
| 41 | + > 由于下载的文件名英文字母会全部变成小写,请在上传前确保文件名与地图名称完全一致,这样即可正常访问矢量瓦片。 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1927,12 +1927,12 @@ aws4@^1.8.0: | |||
| 1927 | 1927 | resolved "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" | |
| 1928 | 1928 | integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== | |
| 1929 | 1929 | ||
| 1930 | - axios@^0.19.0: | ||
| 1931 | - version "0.19.2" | ||
| 1932 | - resolved "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" | ||
| 1933 | - integrity sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA== | ||
| 1930 | + axios@^0.21.1: | ||
| 1931 | + version "0.21.4" | ||
| 1932 | + resolved "http://192.168.82.89:4873/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" | ||
| 1933 | + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== | ||
| 1934 | 1934 | dependencies: | |
| 1935 | - follow-redirects "1.5.10" | ||
| 1935 | + follow-redirects "^1.14.0" | ||
| 1936 | 1936 | ||
| 1937 | 1937 | babel-eslint@^10.0.3: | |
| 1938 | 1938 | version "10.1.0" | |
@@ -3201,13 +3201,6 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3: | |||
| 3201 | 3201 | dependencies: | |
| 3202 | 3202 | ms "2.0.0" | |
| 3203 | 3203 | ||
| 3204 | - debug@=3.1.0: | ||
| 3205 | - version "3.1.0" | ||
| 3206 | - resolved "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" | ||
| 3207 | - integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== | ||
| 3208 | - dependencies: | ||
| 3209 | - ms "2.0.0" | ||
| 3210 | - | ||
| 3211 | 3204 | debug@^3.1.1, debug@^3.2.6: | |
| 3212 | 3205 | version "3.2.7" | |
| 3213 | 3206 | resolved "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" | |
@@ -4198,18 +4191,16 @@ flush-write-stream@^1.0.0: | |||
| 4198 | 4191 | inherits "^2.0.3" | |
| 4199 | 4192 | readable-stream "^2.3.6" | |
| 4200 | 4193 | ||
| 4201 | - follow-redirects@1.5.10: | ||
| 4202 | - version "1.5.10" | ||
| 4203 | - resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a" | ||
| 4204 | - integrity sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ== | ||
| 4205 | - dependencies: | ||
| 4206 | - debug "=3.1.0" | ||
| 4207 | - | ||
| 4208 | 4194 | follow-redirects@^1.0.0: | |
| 4209 | 4195 | version "1.13.1" | |
| 4210 | 4196 | resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz#5f69b813376cee4fd0474a3aba835df04ab763b7" | |
| 4211 | 4197 | integrity sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg== | |
| 4212 | 4198 | ||
| 4199 | + follow-redirects@^1.14.0: | ||
| 4200 | + version "1.14.6" | ||
| 4201 | + resolved "http://192.168.82.89:4873/follow-redirects/-/follow-redirects-1.14.6.tgz#8cfb281bbc035b3c067d6cd975b0f6ade6e855cd" | ||
| 4202 | + integrity sha512-fhUl5EwSJbbl8AR+uYL2KQDxLkdSjZGR36xy46AO7cOMTrCMON6Sa28FmAnC2tRTDbd/Uuzz3aJBv7EBN7JH8A== | ||
| 4203 | + | ||
| 4213 | 4204 | for-in@^1.0.2: | |
| 4214 | 4205 | version "1.0.2" | |
| 4215 | 4206 | resolved "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments