Changes between Version 69 and Version 70 of GIS/Data


Ignore:
Timestamp:
09/11/14 14:47:39 (11 years ago)
Author:
Fran Boon
Comment:

+TL_L0

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v69 v70  
    645645resource = s3db.resource("gis_location")
    646646stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     647import_file = "TL_L0.csv"
     648File = open(import_file, "r")
     649resource.import_xml(File, format="csv", stylesheet=stylesheet)
     650db.commit()
    647651import_file = "TL_L1.csv"
    648652File = open(import_file, "r")