Changes between Version 112 and Version 113 of GIS/Data


Ignore:
Timestamp:
03/20/17 11:43:05 (8 years ago)
Author:
Fran Boon
Comment:

+KE

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v112 v113  
    9595}}}
    9696
     97=== Kenya ===
     98Admin Boundaries:
     99* [http://eden.sahanafoundation.org/downloads/KE_Lx.7z KE_Lx.7z]
     100
     101These have come originally from [https://data.humdata.org/group/ken HDX].
     102
     103Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     104{{{
     105cd /home/web2py
     106p7zip -d LR_Lx.7z
     107python web2py.py -S eden -M
     108
     109auth.override = True
     110stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     111resource = s3db.resource("gis_location")
     112filename = "KE_L0.csv"
     113File = open(filename, "r")
     114resource.import_xml(File, format="csv", stylesheet=stylesheet)
     115db.commit()
     116filename = "KE_L1.csv"
     117File = open(filename, "r")
     118resource.import_xml(File, format="csv", stylesheet=stylesheet)
     119db.commit()
     120filename = "KE_L2.csv"
     121File = open(filename, "r")
     122resource.import_xml(File, format="csv", stylesheet=stylesheet)
     123db.commit()
     124gis.update_location_tree()
     125db.commit()
     126}}}
     127
     128
    97129=== Liberia ===
    98130Admin Boundaries:
    99131* [http://eden.sahanafoundation.org/downloads/LR_Lx.7z LR_Lx.7z]
    100132
    101 These have come originally from [http://gadm.org GADM] for !L0/L1 and [http://cod.humanitarianresponse.info COD] for L2...adding PCodes & UNMIL 'Health' codes. Boundary changes noted for L1s with historical boundaries included for statistical analysis.
     133These have come originally from [http://gadm.org GADM] for L0/L1 and [http://cod.humanitarianresponse.info COD] for L2...adding PCodes & UNMIL 'Health' codes. Boundary changes noted for L1s with historical boundaries included for statistical analysis.
    102134
    103135NB L3 is included (data from GADM), but not recommended to import as it will add several L2s which no longer exist.