postgresql - Error importing map with osm2pgsql -


i've been following guide setting own osm node. https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

i've gone trough compiles , configurations no complications (twice) in both runs ended following error

using built-in tag processing pipeline using projection srs 3857 (spherical mercator) setting table: planet_osm_point osm2pgsql failed due 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" text,"ref" text,"religion" text,"route" text,"service" text,"shop" text,"sport" text,"surface" text,"toll" text,"tourism" text,"tower:type" text,"tunnel" text,"water" text,"waterway" text,"wetland" text,"width" text,"wood" text,"z_order" int4,way geometry(point,3857) ) ( autovacuum_enabled = false ) failed: error:  type "geometry" not exist line 1: ... text,"width" text,"wood" text,"z_order" int4,way geometry(p... 

i've gone trough database configuration again , seems in order. ideas how debug/fix this?

thanks.

the type "geometry" not exist part states have no postgis extension installed.

maybe missed/forgot following part of tutorial on creating extension in postgres db?

substitute username username below


Comments

Popular posts from this blog

Sass watch command compiles .scss files before full sftp upload -

filehandler - java open files not cleaned, even when the process is killed -

gridview - Yii2 DataPorivider $totalSum for a column -