当前位置:网站首页>Geoserver+mysql+openlayers
Geoserver+mysql+openlayers
2022-08-02 22:02:00 【Jennifer33K】
- Install geoserver-2.15.4 version.
- Geoserver supports mysql database.
- geoserver-2.15.4-mysql-plugin.zip
- Copy gt-jdbc-mysql-2.6.1.jar and mysql-connector-java-5.1.5.jar from geoserver-2.15.4-mysql-plugin.zip to webapps/geoserver/WEB-INF/lib, then restart geoserver.
- shp is imported into mysql database
- Place shp and related files of shp and doc files of DOShere in the same directory.
- Enter the command: shp2mysql shp file name.shp table name database name > Generated sql file name.sql.
- Example: shp2mysql point_psn.shp test coordinate>psn.sql.
- Modify the generated sql file: ALTER TABLE table name ADD the_geom GEOMETRY.add must be: the_geom GEOMETRY.
- Replace all -1) ); with) );
- Go to the mysql database and import the sql file.
- Connect mysql data in geoserver to display the map.
- The effect is still under test~
边栏推荐
- 微服务-gateway【服务网关入门】
- MySQL详细安装与配置
- 进程与线程
- Geoserver+mysql+openlayers
- 【C语言刷题】Leetcode203——移除链表元素
- 流量分析第一题
- T5: Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
- 86.(cesium之家)cesium叠加面接收阴影效果(gltf模型)
- 为何国内年轻人都抢购iPhone,因为它更实惠也更亲民
- [深入研究4G/5G/6G专题-49]: 5G Link Adaption链路自适应-5-上行链路自适应ULLA-PUSCH信道
猜你喜欢
随机推荐
geoserver+mysql+openlayers问题点
How to mitigate the attack of corporate account hijacking?
洛谷P2345 MooFest G
电子行业库存管理痛点与WMS仓储管理系统解决方案
流量分析第一题
想通过FC连接RDS mysql。是不是将FC服务角色添加rds权限后,就可以通过地址,端口建连了呢
实例033:列表转字符串
松鼠短视频系统为用户加入随机头像代码-快速为用户加上随机头衔
C#里如何简单的校验时间格式
Boyun Selected as Gartner China DevOps Representative Vendor
流量分析第二题
JVM内存和垃圾回收-03.运行时数据区概述及线程
香农与信息论三大定律
7.22 - 每日一题 - 408
洛谷P4316 绿豆蛙的归宿
arcgis 分子式标注
动态生成不同类型的订单,请问如何存放到Mongodb数据库?
SQL server有什么认证吗?
Mppt photovoltaic maximum power point tracking control matlab simulation
固态硬盘接口类型介绍