Josh Levinger
unread,Nov 23, 2009, 5:49:40 PM11/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to geodjango
I'm trying to import several shapefiles into geodjango using the
layermapping utility. These files all refer to various characteristics
of the same places (name, boundary, built up area, type, population,
etc) and so I'd like to merge the unique information from each
shapefile into the same model instance in different fields. I've tried
doing several layermapping steps, one per shapefile, with the unique
key set to the name field. However, I still end up with duplicated
model instances, one from each layermapping. Is there a way to do this
merge with layermapping, or should I turn something else more powerful
(ogr2ogr, or shp2pgsql)?