Changes between Version 162 and Version 163 of GIS/Data
- Timestamp:
- 03/19/20 23:08:59 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/Data
v162 v163 2494 2494 * [http://eden.sahanafoundation.org/downloads/GB_Lx.7z GB_Lx.7z] 2495 2495 2496 These have come originally from [http://gadm.org GADM] v3.6.2496 L0-L3 have come originally from [http://gadm.org GADM] v3.6. The L4s have come from the [https://www.ordnancesurvey.co.uk/business-government/products/boundaryline Ordnance Survey's Boundary Line]. 2497 2497 2498 2498 Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: … … 2503 2503 2504 2504 auth.override = True 2505 languages = s3.l10n_languages 2506 languages["cy"] = "Welsh" 2507 languages["gd"] = "Scots" 2505 2508 resource = s3db.resource("gis_location") 2506 2509 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") … … 2518 2521 db.commit() 2519 2522 import_file = "GB_L3.csv" 2523 File = open(import_file, "r") 2524 resource.import_xml(File, format="csv", stylesheet=stylesheet) 2525 db.commit() 2526 import_file = "GB_L4.csv" 2520 2527 File = open(import_file, "r") 2521 2528 resource.import_xml(File, format="csv", stylesheet=stylesheet)