Changes between Version 91 and Version 92 of GIS/Data


Ignore:
Timestamp:
09/13/15 09:56:51 (6 years ago)
Author:
Fran Boon
Comment:

+AT

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v91 v92  
    986986
    987987== Europe ==
     988=== Austria ===
     989Admin Boundaries:
     990* [http://eden.sahanafoundation.org/downloads/AT_Lx.7z AT_Lx.7z]
     991
     992These have come originally from [http://gadm.org GADM].
     993
     994Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     995{{{
     996cd /home/web2py
     997p7zip -d AT_Lx.7z
     998python web2py.py -S eden -M
     999
     1000auth.override = True
     1001languages = s3.l10n_languages
     1002languages["de"] = "German"
     1003stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1004resource = s3db.resource("gis_location")
     1005filename = "AT_L0.csv"
     1006File = open(filename, "r")
     1007resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1008db.commit()
     1009filename = "AT_L1.csv"
     1010File = open(filename, "r")
     1011resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1012db.commit()
     1013filename = "AT_L2.csv"
     1014File = open(filename, "r")
     1015resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1016db.commit()
     1017gis.update_location_tree()
     1018db.commit()
     1019}}}
     1020
    9881021=== Bosnia and Herzegovina ===
    9891022Admin Boundaries: