Changes between Version 66 and Version 67 of GIS/Data


Ignore:
Timestamp:
09/11/14 14:27:26 (10 years ago)
Author:
Fran Boon
Comment:

+CX, FM

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v66 v67  
    10631063
    10641064== Oceania ==
     1065=== Christmas Island ===
     1066Admin Boundaries:
     1067* [http://eden.sahanafoundation.org/downloads/CX_Lx.7z CX_Lx.7z]
     1068
     1069These have come originally from [http://gadm.org GADM].
     1070
     1071Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     1072{{{
     1073cd /home/web2py
     1074p7zip -d CX_Lx.7z
     1075python web2py.py -S eden -M
     1076
     1077auth.override = True
     1078resource = s3db.resource("gis_location")
     1079stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1080import_file = "CX_L0.csv"
     1081File = open(import_file, "r")
     1082resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1083db.commit()
     1084gis.update_location_tree()
     1085db.commit()
     1086}}}
     1087
     1088=== Micronesia ===
     1089Admin Boundaries:
     1090* [http://eden.sahanafoundation.org/downloads/FM_Lx.7z FM_Lx.7z]
     1091
     1092These have come originally from [http://gadm.org GADM].
     1093
     1094Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     1095{{{
     1096cd /home/web2py
     1097p7zip -d FM_Lx.7z
     1098python web2py.py -S eden -M
     1099
     1100auth.override = True
     1101resource = s3db.resource("gis_location")
     1102stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1103import_file = "FM_L0.csv"
     1104File = open(import_file, "r")
     1105resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1106db.commit()
     1107gis.update_location_tree()
     1108db.commit()
     1109}}}
     1110
    10651111=== Papua New Guinea ===
    10661112Admin Boundaries: