Permalink
Commits on Jul 11, 2013
  1. An improved backwards migration for reverting from 7-area-unions to m…

    …aster
    
    The previous version of the backwards part of migration 0006 could
    lose geometries.  This version preserves all geometries that were
    associated with a area, and unions them to minimize the number of
    geometries required to represent the area.
    
    Thanks to Jenny Duckett for helpful suggestions on how to rewrite
    this so that it's shorter and clearer.
    mhl committed Apr 18, 2013
Commits on Oct 11, 2012
  1. Use .iterator() to reduce memory usage in data migration

    With all the UK data imported, this migration failed with a memory
    error on a machine with 8GB of virtual memory, but it succeeded
    when using .iterator() on the QuerySet. This is suggested in the
    documentation for iterator, which says:
    
        'For a QuerySet which returns a large number of objects,
        [iterator()] often results in better performance and a
        significant reduction in memory'
    
    https://docs.djangoproject.com/en/1.2/ref/models/querysets/#iterator
    jennyd committed Oct 11, 2012
Commits on Oct 4, 2012
Commits on Oct 1, 2012
Commits on Sep 28, 2012
  1. Migrate Geometry to have a many-many relationship with Area, instead …

    …of a many-one, for #7.
    dracos committed Sep 27, 2012
Commits on Sep 26, 2012
Commits on Sep 25, 2012
  1. Create a generic postal code importer script.

    Adjust all current postal code importer scripts to use it
    (their subclassing is only needed now for e.g. row skipping,
    dealing with moving columns, or manual area matching).
    dracos committed Sep 25, 2012
Commits on Sep 20, 2012
  1. Remove a trailing * from the filename of mapit_UK_scilly.py

    This also marks the file as non-executable.
    mhl committed Sep 20, 2012
  2. Add GA handling.

    dracos committed Sep 20, 2012
Commits on Sep 18, 2012
  1. Use right formatting element.

    dracos committed Sep 18, 2012
Commits on Sep 7, 2012
  1. Update GADM documentation.

    dracos committed Sep 7, 2012
  2. This was changed for SOA, but fails due to 3D implicit conversion. Sw…

    …itch back and investigate better if it happens again.
    dracos committed Sep 7, 2012
  3. Generalise import script to accept .shp files too, prompt when given …

    …things that don't yet exist in the database, handle more errors, and deal with different field name and encoding.
    dracos committed Sep 7, 2012
  4. Factor our shared KML class.

    dracos committed Sep 7, 2012
  5. Add a general introduction #13

    evdb committed with dracos Jul 24, 2012
  6. Convert README to ReStructuredText. #13

    evdb committed with dracos Jul 24, 2012
  7. Move utils.py up a level and rename - prevents it appearing in the co…

    …mmand list when doing './manage.py help'
    evdb committed with dracos Jul 23, 2012
  8. Prefix management commands with 'mapit_' or 'mapit_XX' for country sp…

    …ecific ones. Closes #19
    evdb committed with dracos Jul 23, 2012
Commits on Aug 28, 2012
Commits on Jul 26, 2012