Changes between Version 74 and Version 75 of GIS/Data


Ignore:
Timestamp:
10/15/14 11:04:50 (7 years ago)
Author:
Fran Boon
Comment:

+GN

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v74 v75  
    99* Excel and Open Office can truncate WKTs
    1010It is safest (and fastest) to use a plain text editor (eg. Notepad++)
     11
     12== Africa ==
     13
     14=== Guinea ===
     15Admin Boundaries:
     16* [http://eden.sahanafoundation.org/downloads/GN_Lx.7z GN_Lx.7z]
     17
     18These have come originally from [http://gadm.org GADM] with PCodes added from OCHA. Conarky spelt correctly as Conakry.
     19
     20Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     21{{{
     22cd /home/web2py
     23p7zip -d GN_Lx.7z
     24python web2py.py -S eden -M
     25
     26auth.override = True
     27languages = s3.l10n_languages
     28languages["fr"] = "French"
     29stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     30resource = s3db.resource("gis_location")
     31filename = "GN_L0.csv"
     32File = open(filename, "r")
     33resource.import_xml(File, format="csv", stylesheet=stylesheet)
     34db.commit()
     35filename = "GN_L1.csv"
     36File = open(filename, "r")
     37resource.import_xml(File, format="csv", stylesheet=stylesheet)
     38db.commit()
     39filename = "GN_L2.csv"
     40File = open(filename, "r")
     41resource.import_xml(File, format="csv", stylesheet=stylesheet)
     42db.commit()
     43filename = "GN_L3.csv"
     44File = open(filename, "r")
     45resource.import_xml(File, format="csv", stylesheet=stylesheet)
     46db.commit()
     47gis.update_location_tree()
     48db.commit()
     49}}}
    1150
    1251== Americas ==