Changes between Version 69 and Version 70 of GIS/Data
- Timestamp:
- 09/11/14 14:47:39 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/Data
v69 v70 645 645 resource = s3db.resource("gis_location") 646 646 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") 647 import_file = "TL_L0.csv" 648 File = open(import_file, "r") 649 resource.import_xml(File, format="csv", stylesheet=stylesheet) 650 db.commit() 647 651 import_file = "TL_L1.csv" 648 652 File = open(import_file, "r")