osm地图数据 mysql_OSM(OpenStreetMap) poi、路网 数据导入 PostgreSQL

背景

从OpenStreetMap下载地图数据,使用osm2pgsql可以将数据导入PostgreSQL数据库,结合PostGIS插件,实现POI的业务。

如果要提取POI(兴趣点)数据,可以使用osmosis工具,处理OSM导出的文件。

https://github.com/openstreetmap/osmosis

如果需要用于路径规划,可以使用osm2pgrouting工具,将OSM文件导入到PostgreSQL数据库,结合pgrouting插件实现路径规划。

安装方法参考:

参考

https://github.com/openstreetmap/osmosis

http://www.openstreetmap.org/

http://pgrouting.org/

http://postgis.net/

https://wiki.openstreetmap.org/wiki/Osmosis/Installation

http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage

https://help.openstreetmap.org/questions/4065/getting-specific-poi-data-and-keeping-them-up-to-date

03a0c2491bcb178b8decfc33b9083f07.png

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值