当前位置:网站首页>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~
边栏推荐
猜你喜欢
随机推荐
selenium安装和环境配置Firefox
监控易火星版即将亮相:分布式运维帮助TOP3000大企业跨越管理鸿沟
电子行业库存管理痛点与WMS仓储管理系统解决方案
[深入研究4G/5G/6G专题-49]: 5G Link Adaption链路自适应-5-上行链路自适应ULLA-PUSCH信道
Mobile Banking Experience Test: How to Get the Real User Experience
想通过FC连接RDS mysql。是不是将FC服务角色添加rds权限后,就可以通过地址,端口建连了呢
读书笔记之《你想过怎样的一生?》
通信大学生走向岗位,哪些技能最实用?
音频隐写一
C#里如何简单的校验时间格式
What is the use of IT assets management software
Why young people are snapping up domestic iPhone, because it is much cheaper and more populist
动态生成不同类型的订单,请问如何存放到Mongodb数据库?
动态折线图,制作原来是这么简单
快手web did可用生成
洛谷P4316 绿豆蛙的归宿
安装Mac版Mysql卡在Installation阶段,彻底清理mysql并重装mysql
针对时间的功能测试点,这里给你总结全面了
ETH Zurich重磅综述 | 人脸-素描合成:一个新的挑战
麦聪DaaS平台 3.7.0 Release 正式发布:全面支持国际化









