【发布时间】:2021-12-31 09:52:00
【问题描述】:
我是新人osm2pqsgl。我已经为整个欧洲下载了一个osm.pbf 文件,我想将此数据添加到我的Postgres 数据库中。但是,我只对points 感兴趣,没有linestrings 也没有polygon,在points 内我只对这些标签及其信息感兴趣(例如denomination 或name)
- 自然https://wiki.openstreetmap.org/wiki/Key:natural
- 历史性https://wiki.openstreetmap.org/wiki/Key:historic
- 遗产https://wiki.openstreetmap.org/wiki/Key:heritage
- 宗教https://wiki.openstreetmap.org/wiki/Key:religion
- 旅游https://wiki.openstreetmap.org/wiki/Key:tourism
我已将 style 文件从 osm2pgsql 编辑到此
node,way historic text polygon
node,way natural text polygon
node,way religion text linear
node,way tourism text polygon
- 如何从带有
osm2pgsql的osm.pbf文件中仅导入Point特征? - 如何仅导入具有特定
tag的Point功能,例如从具有osm2pgsql的osm.pbf文件中的tourism?
【问题讨论】:
标签: postgresql postgis openstreetmap osm2pgsql