Changes between Version 82 and Version 83 of GIS/Data


Ignore:
Timestamp:
10/24/14 21:34:12 (7 years ago)
Author:
Fran Boon
Comment:

+HR

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v82 v83  
    991991}}}
    992992
     993=== Croatia ===
     994Admin Boundaries:
     995* [http://eden.sahanafoundation.org/downloads/HR_Lx.7z HR_Lx.7z]
     996
     997These have come originally from [http://gadm.org GADM] with Names fixed using Wikipedia.
     998
     999Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     1000{{{
     1001cd /home/web2py
     1002p7zip -d HR_Lx.7z
     1003python web2py.py -S eden -M
     1004
     1005auth.override = True
     1006languages = s3.l10n_languages
     1007languages["hr"] = "Croatian"
     1008languages["it"] = "Italian"
     1009stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1010resource = s3db.resource("gis_location")
     1011filename = "HR_L0.csv"
     1012File = open(filename, "r")
     1013resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1014db.commit()
     1015filename = "HR_L1.csv"
     1016File = open(filename, "r")
     1017resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1018db.commit()
     1019filename = "HR_L2.csv"
     1020File = open(filename, "r")
     1021resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1022db.commit()
     1023gis.update_location_tree()
     1024db.commit()
     1025}}}
     1026
    9931027=== Georgia ===
    9941028Admin Boundaries: