我很新osm2pqsgl。我已经osm.pbf为整个欧洲下载了一个文件,我想将此数据添加到我的Postgres数据库中。但是,我只对points、nolinestrings或感兴趣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
- 如何仅从文件中导入
Point功能?osm.pbfosm2pgsql - 如何仅导入
Point具有特定功能的功能tag,例如tourism从具有 ? 的osm.pbf文件中导入osm2pgsql?