@@ -0,0 +1,1220 @@
+%22%22%22%0AImport Dundee%0A%22%22%22%0Afrom django.contrib.gis.geos import Point%0A%0Afrom data_collection.management.commands import BaseJasonImporter%0A%0Aclass Command(BaseJasonImporter):%0A    %22%22%22%0A    Imports the Polling station/district data from Dundee Council%0A    %22%22%22%0A    council_id     = 'S12000042'%0A    districts_name = 'polling_districts.bng.geo.json'%0A    stations_name  = 'SV_POLLING_STATIONS.csv'%0A%0A    def district_record_to_dict(self, record):%0A        properties = record%5B'properties'%5D%0A        return %7B%0A            'council':             self.council,%0A            'internal_council_id': properties%5B'POLLING_STATION_ID'%5D,%0A            'name':                properties%5B'POLLING_STATION_NAME'%5D%0A        %7D%0A%0A    def station_record_to_dict(self, record):%0A        location = Point(float(record.easting), float(record.northing), srid=self.srid)%0A%0A        %22%22%22%0A        address data is sufficiently poor quality that%0A        geocoding is likely to produce misleading results%0A        %22%22%22%0A%0A        return %7B%0A            'council':             self.council,%0A            'internal_council_id': record.objectid,%0A            'postcode':            %22%22,%0A            'address':             record.name,%0A            'location':            location%0A        %7D%0A

add import script for dundee