On Sat, Apr 12, 2008 at 3:46 PM, Frederik Ramm <[EMAIL PROTECTED]> wrote:
>    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?

That will work, though it will change the meaning of [admin_level] <
10 if mapnik tries to do that (not sure if we do that anywhere....)

Have a nice day,
-- 
Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to