imposm3 icon indicating copy to clipboard operation
imposm3 copied to clipboard

Force geometry type to 'Geometry' on generalized table #262

Open frodrigo opened this issue 4 years ago • 0 comments

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.

frodrigo avatar Feb 19 '21 15:02 frodrigo