Alfonso,
Yes, polygon data stored as multipolygons will play nice at the
database level. This is a common approach with shapefiles imported
into Postgres/Postgis that contain both single and multi geometries.
You therefore just assume they are all multipolygons (ie like
shp2pgsql). You just need
I've got a nice chunk of shapefile data to import into a GeoDjango DB
via LayerMapping and have discovered only one of the entries is a
MultiPolygon shape - the rest Polygon. My question is this... if I
change the model definition for the corresponding polygon field from
PolygonField to MultiPoly
2 matches
Mail list logo