使用 WebIDE 打开,在WebIDE的终端输入 sh run.sh ,即可启动项目| 前端:Vue | Element | Axios | OpenLayers | Mapbox-GL | Echarts |
| 后端:SpringBoot | Mybaits | Redis | Postgres+PostGIS+PgRouting | GeoTools | GDAL v3.5.2 |

# 启动容器
docker run -itd \
-p 28080:28080 \
-p 28081:28081 \
-p 28085:28085 \
--name webgistest \
-e VUE_APP_BASE_API="http://localhost:28081/webgisapi/" \
-e VUE_APP_GEOSERVER="http://localhost:28085/" \
docker.cnb.cool/dxnima/webgistest
容器启动后可以查看项目:
前端打开:http://localhost:28080
后端打开:http://localhost:28081/webgisapi/doc.html
geoserver打开:http://localhost:28085/geoserver, 用户名:admin 密码:geoserver
tips:
VUE_APP_BASE_API、VUE_APP_GEOSERVER中的localhost为服务器公网IPGerserver REST -> 地图服务后台功能使用
http://localhost:28085/geoserver#/1.0版本/1.配置接口/configGeoserverUsingPOST-p 5432:5432将postgres数据库映射出来git clone https://gitee.com/dxnima/WebGIStest.git
# git clone https://github.com/DXnima/WebGIStest.git
cd WebGIStest
# 构建镜像
docker build -f Dockerfile -t dxnima/webgistest .
# 启动容器
docker run -p 28080:28080 -p 28081:28081 -p 28085:28085 --name webgistest -itd dxnima/webgistest
项目打开方式同上
请移步:
├─geoserver geoserver地图服务软件
├─server-web 后端项目
├─SQL 数据库恢复数据表
├─vue-ui 前端项目
1. GIS开发实战图谱:https://blog.csdn.net/sinat_41310868/article/details/107010972
2. WebGIS文章汇总:https://zhuanlan.zhihu.com/p/67232451
3. PostGIS矢量瓦片创建
4. 其他矢量地图解决方案
5. 网路分析(路径导航)
6. GDAL读取gdb
QQ群:515705676