标签: osm2pgsql

将 .osm 文件扩展名转换为 .osm.pbf

我正在尝试使用 osm2pgsql,这需要我有一个 .pbf 文件扩展名。是否可以将 .osm 文件转换为 .osm.pbf 文件?

提前致谢 :)

postgis openstreetmap osm2pgsql

3
推荐指数
1
解决办法
8681
查看次数

使用 osm2pgsql 导入地图时出错

我一直在遵循本指南来设置我自己的 osm 节点。 https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

我已经完成了所有编译和配置,没有任何并发​​症(两次),但在两次运行中我最终都出现了以下错误

Using built-in tag processing pipeline
Using projection SRS 3857 (Spherical Mercator)
Setting up table: planet_osm_point
Osm2pgsql failed due to ERROR: CREATE TABLE planet_osm_point (osm_id int8,"access" text,"addr:housename" text,"addr:housenumber" text,"addr:interpolation" text,"admin_level" text,"aerialway" text,"aeroway" text,"amenity" text,"area" text,"barrier" text,"bicycle" text,"brand" text,"bridge" text,"boundary" text,"building" text,"capital" text,"construction" text,"covered" text,"culvert" text,"cutting" text,"denomination" text,"disused" text,"ele" text,"embankment" text,"foot" text,"generator:source" text,"harbour" text,"highway" text,"historic" text,"horse" text,"intermittent" text,"junction" text,"landuse" text,"layer" text,"leisure" text,"lock" text,"man_made" text,"military" text,"motorcar" text,"name" text,"natural" text,"office" text,"oneway" text,"operator" text,"place" text,"poi" text,"population" text,"power" text,"power_source" text,"public_transport" text,"railway" …
Run Code Online (Sandbox Code Playgroud)

postgresql osm2pgsql

1
推荐指数
1
解决办法
3404
查看次数

标签 统计

osm2pgsql ×2

openstreetmap ×1

postgis ×1

postgresql ×1