Changes between Version 103 and Version 104 of GIS/Data


Ignore:
Timestamp:
11/19/15 15:03:19 (9 years ago)
Author:
Fran Boon
Comment:

+XK

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified GIS/Data

    v103 v104  
    14161416}}}
    14171417
     1418=== Kosovo ===
     1419Admin Boundaries:
     1420* [http://eden.sahanafoundation.org/downloads/XK_Lx.7z XK_Lx.7z]
     1421
     1422These have come originally from [http://gadm.org GADM] with names and new Municipalities from Wikipedia.
     1423
     1424Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     1425{{{
     1426cd /home/web2py
     1427p7zip -d XK_Lx.7z
     1428python web2py.py -S eden -M
     1429
     1430auth.override = True
     1431languages = s3.l10n_languages
     1432languages["sq"] = "Albanian"
     1433languages["sr"] = "Serbian"
     1434languages["tr"] = "Turkish"
     1435resource = s3db.resource("gis_location")
     1436stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     1437import_file = "XK_L0.csv"
     1438File = open(import_file, "r")
     1439resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1440db.commit()
     1441import_file = "XK_L1.csv"
     1442File = open(import_file, "r")
     1443resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1444db.commit()
     1445import_file = "XK_L2.csv"
     1446File = open(import_file, "r")
     1447resource.import_xml(File, format="csv", stylesheet=stylesheet)
     1448db.commit()
     1449gis.update_location_tree()
     1450db.commit()
     1451}}}
     1452
     1453
    14181454=== Macedonia ===
    14191455Admin Boundaries: