Changeset 704


Ignore:
Timestamp:
Jan 2, 2010, 11:51:47 AM (10 years ago)
Author:
sheldon
Message:

Dracos data is gaining OSM licenced data, bad boys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/scripts/generic-python-import/generic_importer.py

    r703 r704  
    336336                        return
    337337
    338                 # Ref, Postcode, Loc1, Loc2, Latitude, Longitude, last m-f, last sat
     338                # Ref, Postcode, Loc1, Loc2, Latitude, Longitude, last m-f, last sat source
    339339                parts = line.split("\t")
    340340                if len(parts) == 9:
     
    346346                if not parts[1]:
    347347                        # No postcode
     348                        return
     349                if ! parts[8] == "Website":
     350                        # Don't want OSM data, it's not free enough.
    348351                        return
    349352
Note: See TracChangeset for help on using the changeset viewer.