Changes between Version 46 and Version 47 of GIS/Data


Ignore:
Timestamp:
07/03/14 21:27:35 (11 years ago)
Author:
Fran Boon
Comment:

+US

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v46 v47  
    1010It is safest (and fastest) to use a plain text editor (eg. Notepad++)
    1111
     12== Americas ==
     13
     14=== Afghanistan ===
     15Admin Boundaries:
     16* [http://eden.sahanafoundation.org/downloads/US_Lx.7z US_Lx.7z]
     17
     18These have come originally from [http://gadm.org GADM]
     19
     20Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     21{{{
     22cd /home/web2py
     23p7zip -d US_Lx.7z
     24python web2py.py -S eden -M
     25
     26auth.override = True
     27stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     28resource = s3db.resource("gis_location")
     29filename = "US_L0.csv"
     30File = open(filename, "r")
     31resource.import_xml(File, format="csv", stylesheet=stylesheet)
     32db.commit()
     33filename = "US_L1.csv"
     34File = open(filename, "r")
     35resource.import_xml(File, format="csv", stylesheet=stylesheet)
     36db.commit()
     37filename = "US_L2.csv"
     38File = open(filename, "r")
     39resource.import_xml(File, format="csv", stylesheet=stylesheet)
     40db.commit()
     41gis.update_location_tree()
     42db.commit()
     43}}}
     44
    1245== Asia ==
    1346
     
    1649* [http://eden.sahanafoundation.org/downloads/AF_Lx.7z AF_Lx.7z]
    1750
    18 These have come originally from [https://cod.humanitarianresponse.info COD] with Pashto names and better Romanised names from Wikipedia.[[BR]]
     51These have come originally from [https://cod.humanitarianresponse.info COD] with Pashto names and better Romanised names from Wikipedia.
    1952
    2053Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: