Changes between Version 65 and Version 66 of GIS/Data


Ignore:
Timestamp:
09/11/14 14:19:33 (7 years ago)
Author:
Fran Boon
Comment:

+BD_L0

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v65 v66  
    141141* [http://eden.sahanafoundation.org/downloads/BD_Lx.7z BD_Lx.7z]
    142142
    143 These have come originally from [https://cod.humanitarianresponse.info COD] with Bangali names and better Romanised names from Wikipedia.[[BR]]
     143These have come originally from [https://cod.humanitarianresponse.info COD] (L0 from GADM) with Bengali names and better Romanised names from Wikipedia.[[BR]]
    144144
    145145Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     
    154154resource = s3db.resource("gis_location")
    155155stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     156import_file = "BD_L0.csv"
     157File = open(import_file, "r")
     158resource.import_xml(File, format="csv", stylesheet=stylesheet)
     159db.commit()
    156160import_file = "BD_L1.csv"
    157161File = open(import_file, "r")