Changes between Version 93 and Version 94 of GIS/Data


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

+MK

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v93 v94  
    12231223}}}
    12241224
     1225=== Macedonia ===
     1226Admin Boundaries:
     1227* [http://eden.sahanafoundation.org/downloads/MK_Lx.7z MK_Lx.7z]
     1228
     1229These have come originally from [http://gadm.org GADM].
     1230
     1231Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     1232{{{
     1233cd /home/web2py
     1234p7zip -d MK_Lx.7z
     1235python web2py.py -S eden -M
     1236
     1237auth.override = True
     1238languages = s3.l10n_languages
     1239languages["mk"] = "Macedonian"
     1240resource = s3db.resource("gis_location")
     1241stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1242import_file = "MK_L0.csv"
     1243File = open(import_file, "r")
     1244resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1245db.commit()
     1246import_file = "MK_L1.csv"
     1247File = open(import_file, "r")
     1248resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1249db.commit()
     1250gis.update_location_tree()
     1251db.commit()
     1252}}}
     1253
    12251254=== Ukraine ===
    12261255Admin Boundaries: