Changes between Version 23 and Version 24 of GIS/Data


Ignore:
Timestamp:
02/13/14 17:19:10 (11 years ago)
Author:
Fran Boon
Comment:

+GR_Lx

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v23 v24  
    237237}}}
    238238
     239== Europe ==
     240=== Greece ===
     241Admin Boundaries:
     242* [http://eden.sahanafoundation.org/downloads/GR_Lx.7z GR_Lx.7z]
     243
     244Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     245{{{
     246cd /home/web2py
     247p7zip -d JO_Lx.7z
     248python web2py.py -S eden -M
     249
     250auth.override = True
     251settings.L10n.languages["el"] = "Greek"
     252resource = s3db.resource("gis_location")
     253stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     254import_file = "GR_L1.csv"
     255File = open(import_file, "r")
     256resource.import_xml(File, format="csv", stylesheet=stylesheet)
     257db.commit()
     258import_file = "GR_L2.csv"
     259File = open(import_file, "r")
     260resource.import_xml(File, format="csv", stylesheet=stylesheet)
     261db.commit()
     262import_file = "GR_L3.csv"
     263File = open(import_file, "r")
     264resource.import_xml(File, format="csv", stylesheet=stylesheet)
     265db.commit()
     266import_file = "GR_L4.csv"
     267File = open(import_file, "r")
     268resource.import_xml(File, format="csv", stylesheet=stylesheet)
     269db.commit()
     270gis.update_location_tree()
     271db.commit()
     272}}}
     273
    239274== Middle East ==
    240275=== Jordan ===