[OSM-dev] osm2pgsql fails on current data

Frederik Ramm frederik at remote.org
Sat Apr 12 14:46:02 BST 2008


Hi,

   there are some ways tagged "admin_level=6;8" (way #23636282 e.g.)
which seem to break osm2pgsql:

COPY_END for planet_osm_line failed: ERROR:  invalid input syntax for integer: "6;8"
CONTEXT:  COPY planet_osm_line, line 2766147, column admin_level: "6;8"

I'm not too experienced with osm2pgsql, would it help if I just
changed the style file to make "admin_level" a "text" type instead of
"int4", or will this break other things then?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"





More information about the dev mailing list