Changes between Version 32 and Version 33 of GIS/Data


Ignore:
Timestamp:
04/14/14 14:02:18 (11 years ago)
Author:
Fran Boon
Comment:

+KZ

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v32 v33  
    151151}}}
    152152
     153=== Kazakhstan ===
     154Admin Boundaries:
     155* [http://eden.sahanafoundation.org/downloads/KZ_Lx.7z KZ_Lx.7z]
     156
     157These have come originally from [http://gadm.org GADM] with Kazakh & Russian names added from Wikipedia.
     158
     159Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     160{{{
     161cd /home/web2py
     162p7zip -d KG_Lx.7z
     163python web2py.py -S eden -M
     164
     165auth.override = True
     166settings.L10n.languages["kk"] = "Kazakh"
     167settings.L10n.languages["ru"] = "Russian"
     168resource = s3db.resource("gis_location")
     169stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     170import_file = "KZ_L0.csv"
     171File = open(import_file, "r")
     172resource.import_xml(File, format="csv", stylesheet=stylesheet)
     173db.commit()
     174gis.update_location_tree()
     175db.commit()
     176}}}
     177
    153178=== Kyrgyzstan ===
    154179Admin Boundaries:
    155180* [http://eden.sahanafoundation.org/downloads/KG_Lx.7z KG_Lx.7z]
    156181
    157 These have come originally from [https://cod.humanitarianresponse.info COD]
     182These have come originally from OCHA with Kyrgyz names added from Wikipedia.
    158183
    159184Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: