Changes between Version 153 and Version 154 of GIS/Data


Ignore:
Timestamp:
05/24/18 16:30:26 (4 years ago)
Author:
Fran Boon
Comment:

+BR

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v153 v154  
    309309* [http://eden.sahanafoundation.org/downloads/BO_Lx.7z BO_Lx.7z]
    310310
    311 Source for Polygons is Ministerio de Desarrollo Sostenible via [https://data.humdata.org/dataset/bolivia-admin-level-2-boundaries HDX], but the hierarchy was missing so got this fromn Wikipedia (along with correct Accents & some alternate names). Muñecas L2 was merged between the one with the accent & the one with the mangled accent. The 4x different Cercado L2s in different provinces have been unmerged. Lakes and Salt Flats moved out to a separate file.
     311Source for Polygons is Ministerio de Desarrollo Sostenible via [https://data.humdata.org/dataset/bolivia-admin-level-2-boundaries HDX], but the hierarchy was missing so got this from Wikipedia (along with correct Accents & some alternate names). Muñecas L2 was merged between the one with the accent & the one with the mangled accent. The 4x different Cercado L2s in different provinces have been unmerged. Lakes and Salt Flats moved out to a separate file.
    312312
    313313Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     
    340340}}}
    341341
    342 
     342=== Brazil ===
     343Admin Boundaries:
     344* [http://eden.sahanafoundation.org/downloads/BR_Lx.7z BR_Lx.7z]
     345
     346Source for Polygons is OCHA FISS via [https://data.humdata.org/dataset/brazil-administrative-level-0-boundaries HDX].
     347
     348Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     349{{{
     350cd /home/web2py
     351p7zip -d BR_Lx.7z
     352python web2py.py -S eden -M
     353
     354auth.override = True
     355stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     356resource = s3db.resource("gis_location")
     357filename = "BR_L0.csv"
     358File = open(filename, "r")
     359resource.import_xml(File, format="csv", stylesheet=stylesheet)
     360db.commit()
     361filename = "BR_L1.csv"
     362File = open(filename, "r")
     363resource.import_xml(File, format="csv", stylesheet=stylesheet)
     364db.commit()
     365filename = "BR_L2.csv"
     366File = open(filename, "r")
     367resource.import_xml(File, format="csv", stylesheet=stylesheet)
     368db.commit()
     369filename = "BR_L3.csv"
     370File = open(filename, "r")
     371resource.import_xml(File, format="csv", stylesheet=stylesheet)
     372db.commit()
     373gis.update_location_tree()
     374db.commit()
     375}}}
    343376=== Chile ===
    344377Admin Boundaries: