Changes between Version 89 and Version 90 of GIS/Data


Ignore:
Timestamp:
09/05/15 07:24:40 (10 years ago)
Author:
Fran Boon
Comment:

+DE

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v89 v90  
    10871087}}}
    10881088
     1089=== Germany ===
     1090Admin Boundaries:
     1091* [http://eden.sahanafoundation.org/downloads/DE_Lx.7z DE_Lx.7z]
     1092
     1093These have come originally from [http://gadm.org GADM].
     1094
     1095Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     1096{{{
     1097cd /home/web2py
     1098p7zip -d DE_Lx.7z
     1099python web2py.py -S eden -M
     1100
     1101auth.override = True
     1102resource = s3db.resource("gis_location")
     1103stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1104import_file = "DE_L0.csv"
     1105File = open(import_file, "r")
     1106resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1107db.commit()
     1108import_file = "DE_L1.csv"
     1109File = open(import_file, "r")
     1110resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1111db.commit()
     1112import_file = "DE_L2.csv"
     1113File = open(import_file, "r")
     1114resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1115db.commit()
     1116import_file = "DE_L3.csv"
     1117File = open(import_file, "r")
     1118resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1119db.commit()
     1120gis.update_location_tree()
     1121db.commit()
     1122}}}
     1123
    10891124=== Greece ===
    10901125Admin Boundaries: