imposm3
imposm3 copied to clipboard
Force geometry type to 'Geometry' on generalized table #262
Geometry column type of generalized table if left to Postgres on CREATE TABLE ... AS based on content.
But when the table initially created for polygon and a multi-polygon come up in the update, it fails with Geometry type (MultiPolygon) does not match column type (Polygon).
So force the type of the geometry column to Geometry to accept polygon and multipolygon.
The same is already done for imported table from OSM polygons.