Changes between Version 118 and Version 119 of GIS/Data


Ignore:
Timestamp:
10/21/17 16:28:27 (4 years ago)
Author:
Fran Boon
Comment:

+AR

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v118 v119  
    246246
    247247== Americas ==
     248
     249=== Argentina ===
     250Admin Boundaries:
     251* [http://eden.sahanafoundation.org/downloads/AR_Lx.7z AR_Lx.7z]
     252
     253Source is [http://gadm.org GADM] via [https://data.humdata.org/dataset/argentina-administrative-level-0-boundaries HDX]
     254
     255Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     256{{{
     257cd /home/web2py
     258p7zip -d AR_Lx.7z
     259python web2py.py -S eden -M
     260
     261auth.override = True
     262stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     263resource = s3db.resource("gis_location")
     264filename = "AR_L0.csv"
     265File = open(filename, "r")
     266resource.import_xml(File, format="csv", stylesheet=stylesheet)
     267db.commit()
     268filename = "AR_L1.csv"
     269File = open(filename, "r")
     270resource.import_xml(File, format="csv", stylesheet=stylesheet)
     271db.commit()
     272filename = "AR_L2.csv"
     273File = open(filename, "r")
     274resource.import_xml(File, format="csv", stylesheet=stylesheet)
     275db.commit()
     276gis.update_location_tree()
     277db.commit()
     278}}}
    248279
    249280=== Honduras ===