Changes between Version 25 and Version 26 of GIS/Data


Ignore:
Timestamp:
02/25/14 11:17:44 (8 years ago)
Author:
Fran Boon
Comment:

+KG

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v25 v26  
    108108}}}
    109109
     110=== Kyrgyzstan ===
     111Admin Boundaries:
     112* [http://eden.sahanafoundation.org/downloads/KG_Lx.7z KG_Lx.7z]
     113
     114These have come originally from [https://cod.humanitarianresponse.info COD]
     115
     116Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     117{{{
     118cd /home/web2py
     119p7zip -d KG_Lx.7z
     120python web2py.py -S eden -M
     121
     122auth.override = True
     123settings.L10n.languages["ky"] = "Kyrgyz"
     124settings.L10n.languages["ru"] = "Russian"
     125resource = s3db.resource("gis_location")
     126stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     127import_file = "KG_L0.csv"
     128File = open(import_file, "r")
     129resource.import_xml(File, format="csv", stylesheet=stylesheet)
     130db.commit()
     131import_file = "KG_L1.csv"
     132File = open(import_file, "r")
     133resource.import_xml(File, format="csv", stylesheet=stylesheet)
     134db.commit()
     135import_file = "KG_L2.csv"
     136File = open(import_file, "r")
     137resource.import_xml(File, format="csv", stylesheet=stylesheet)
     138db.commit()
     139gis.update_location_tree()
     140db.commit()
     141}}}
    110142=== Philippines ===
    111143Admin Boundaries: