Changes between Version 106 and Version 107 of GIS/Data
- Timestamp:
- 12/10/15 20:36:25 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/Data
v106 v107 1315 1315 * [http://eden.sahanafoundation.org/downloads/GR_Lx.7z GR_Lx.7z] 1316 1316 1317 The data came from [http://gadm.org GADM] with L3s inserted from Wikipedia 1318 1317 1319 Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: 1318 1320 {{{ … … 1326 1328 resource = s3db.resource("gis_location") 1327 1329 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") 1330 import_file = "GR_L0.csv" 1331 File = open(import_file, "r") 1332 resource.import_xml(File, format="csv", stylesheet=stylesheet) 1333 db.commit() 1328 1334 import_file = "GR_L1.csv" 1329 1335 File = open(import_file, "r")