Changes between Version 153 and Version 154 of GIS/Data
- Timestamp:
- 05/24/18 16:30:26 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIS/Data
v153 v154 309 309 * [http://eden.sahanafoundation.org/downloads/BO_Lx.7z BO_Lx.7z] 310 310 311 Source for Polygons is Ministerio de Desarrollo Sostenible via [https://data.humdata.org/dataset/bolivia-admin-level-2-boundaries HDX], but the hierarchy was missing so got this from nWikipedia (along with correct Accents & some alternate names). Muñecas L2 was merged between the one with the accent & the one with the mangled accent. The 4x different Cercado L2s in different provinces have been unmerged. Lakes and Salt Flats moved out to a separate file.311 Source for Polygons is Ministerio de Desarrollo Sostenible via [https://data.humdata.org/dataset/bolivia-admin-level-2-boundaries HDX], but the hierarchy was missing so got this from Wikipedia (along with correct Accents & some alternate names). Muñecas L2 was merged between the one with the accent & the one with the mangled accent. The 4x different Cercado L2s in different provinces have been unmerged. Lakes and Salt Flats moved out to a separate file. 312 312 313 313 Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: … … 340 340 }}} 341 341 342 342 === Brazil === 343 Admin Boundaries: 344 * [http://eden.sahanafoundation.org/downloads/BR_Lx.7z BR_Lx.7z] 345 346 Source for Polygons is OCHA FISS via [https://data.humdata.org/dataset/brazil-administrative-level-0-boundaries HDX]. 347 348 Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: 349 {{{ 350 cd /home/web2py 351 p7zip -d BR_Lx.7z 352 python web2py.py -S eden -M 353 354 auth.override = True 355 stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl") 356 resource = s3db.resource("gis_location") 357 filename = "BR_L0.csv" 358 File = open(filename, "r") 359 resource.import_xml(File, format="csv", stylesheet=stylesheet) 360 db.commit() 361 filename = "BR_L1.csv" 362 File = open(filename, "r") 363 resource.import_xml(File, format="csv", stylesheet=stylesheet) 364 db.commit() 365 filename = "BR_L2.csv" 366 File = open(filename, "r") 367 resource.import_xml(File, format="csv", stylesheet=stylesheet) 368 db.commit() 369 filename = "BR_L3.csv" 370 File = open(filename, "r") 371 resource.import_xml(File, format="csv", stylesheet=stylesheet) 372 db.commit() 373 gis.update_location_tree() 374 db.commit() 375 }}} 343 376 === Chile === 344 377 Admin Boundaries: