Changes between Version 162 and Version 163 of GIS/Data


Ignore:
Timestamp:
03/19/20 23:08:59 (19 months ago)
Author:
Fran Boon
Comment:

Update GB_Lx

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v162 v163  
    24942494* [http://eden.sahanafoundation.org/downloads/GB_Lx.7z GB_Lx.7z]
    24952495
    2496 These have come originally from [http://gadm.org GADM] v3.6.
     2496L0-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].
    24972497
    24982498Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     
    25032503
    25042504auth.override = True
     2505languages = s3.l10n_languages
     2506languages["cy"] = "Welsh"
     2507languages["gd"] = "Scots"
    25052508resource = s3db.resource("gis_location")
    25062509stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     
    25182521db.commit()
    25192522import_file = "GB_L3.csv"
     2523File = open(import_file, "r")
     2524resource.import_xml(File, format="csv", stylesheet=stylesheet)
     2525db.commit()
     2526import_file = "GB_L4.csv"
    25202527File = open(import_file, "r")
    25212528resource.import_xml(File, format="csv", stylesheet=stylesheet)