Changes between Version 106 and Version 107 of GIS/Data


Ignore:
Timestamp:
12/10/15 20:36:25 (6 years ago)
Author:
Fran Boon
Comment:

GR updated

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v106 v107  
    13151315* [http://eden.sahanafoundation.org/downloads/GR_Lx.7z GR_Lx.7z]
    13161316
     1317The data came from [http://gadm.org GADM] with L3s inserted from Wikipedia
     1318
    13171319Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
    13181320{{{
     
    13261328resource = s3db.resource("gis_location")
    13271329stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1330import_file = "GR_L0.csv"
     1331File = open(import_file, "r")
     1332resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1333db.commit()
    13281334import_file = "GR_L1.csv"
    13291335File = open(import_file, "r")