Closed pnorman closed 12 years ago
Thanks for pointing this out as well. We use a slightly different osm2pgsql style file, included in commit 3e490eae4b8, which changes the column type for population
to int4
, which should eliminate the error you mention.
When rendering I get the error
This is with postgresql 9.1.3
Changing the SQL to
fixed this, but I am not sure if this is reliable in the case of malformed data (e.g. someone puts free-form text in the population field)
Similar issues may be present elsewhere. If the above changes don't cause errors with invalid data I can submit a patch if desirable.