Changes between Version 107 and Version 108 of GIS/Data


Ignore:
Timestamp:
02/25/16 15:29:22 (9 years ago)
Author:
Fran Boon
Comment:

+FJ

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v107 v108  
    17621762}}}
    17631763
     1764=== Fiji ===
     1765Admin Boundaries:
     1766* [http://eden.sahanafoundation.org/downloads/FJ_Lx.7z FJ_Lx.7z]
     1767
     1768These have come originally from [https://data.hdx.rwlabs.org HDX] and [http://gadm.org GADM] (L0, Eastern L1).
     1769
     1770Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     1771{{{
     1772cd /home/web2py
     1773p7zip -d FJ_Lx.7z
     1774python web2py.py -S eden -M
     1775
     1776auth.override = True
     1777resource = s3db.resource("gis_location")
     1778stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1779import_file = "FJ_L0.csv"
     1780File = open(import_file, "r")
     1781resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1782db.commit()
     1783import_file = "FJ_L1.csv"
     1784File = open(import_file, "r")
     1785resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1786db.commit()
     1787import_file = "FJ_L2.csv"
     1788File = open(import_file, "r")
     1789resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1790db.commit()
     1791import_file = "FJ_L3.csv"
     1792File = open(import_file, "r")
     1793resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1794db.commit()
     1795gis.update_location_tree()
     1796db.commit()
     1797}}}
     1798
    17641799=== Micronesia ===
    17651800Admin Boundaries: