Changes between Version 65 and Version 66 of GIS/Data
- Timestamp:
- 09/11/14 14:19:33 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/Data
v65 v66 141 141 * [http://eden.sahanafoundation.org/downloads/BD_Lx.7z BD_Lx.7z] 142 142 143 These have come originally from [https://cod.humanitarianresponse.info COD] with Bangali names and better Romanised names from Wikipedia.[[BR]]143 These have come originally from [https://cod.humanitarianresponse.info COD] (L0 from GADM) with Bengali names and better Romanised names from Wikipedia.[[BR]] 144 144 145 145 Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: … … 154 154 resource = s3db.resource("gis_location") 155 155 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") 156 import_file = "BD_L0.csv" 157 File = open(import_file, "r") 158 resource.import_xml(File, format="csv", stylesheet=stylesheet) 159 db.commit() 156 160 import_file = "BD_L1.csv" 157 161 File = open(import_file, "r")