Changes between Version 33 and Version 34 of GIS/Data


Ignore:
Timestamp:
04/14/14 14:08:40 (11 years ago)
Author:
Fran Boon
Comment:

+AM,AZ,GE,TJ,TM,UZ (all just L0s for now)

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v33 v34  
    4848}}}
    4949
     50=== Armenia ===
     51Admin Boundaries:
     52* [http://eden.sahanafoundation.org/downloads/AM_Lx.7z AM_Lx.7z]
     53
     54These have come originally from [http://gadm.org GADM] with Armenian & Russian names added from Wikipedia.
     55
     56Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     57{{{
     58cd /home/web2py
     59p7zip -d AM_Lx.7z
     60python web2py.py -S eden -M
     61
     62auth.override = True
     63settings.L10n.languages["hy"] = "Armenian"
     64settings.L10n.languages["ru"] = "Russian"
     65resource = s3db.resource("gis_location")
     66stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     67import_file = "AM_L0.csv"
     68File = open(import_file, "r")
     69resource.import_xml(File, format="csv", stylesheet=stylesheet)
     70db.commit()
     71gis.update_location_tree()
     72db.commit()
     73}}}
     74
     75=== Azerbaijan ===
     76Admin Boundaries:
     77* [http://eden.sahanafoundation.org/downloads/AZ_Lx.7z AZ_Lx.7z]
     78
     79These have come originally from [http://gadm.org GADM] with Azerbaijani & Russian names added from Wikipedia.
     80
     81Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     82{{{
     83cd /home/web2py
     84p7zip -d AZ_Lx.7z
     85python web2py.py -S eden -M
     86
     87auth.override = True
     88settings.L10n.languages["az"] = "Azerbaijani"
     89settings.L10n.languages["ru"] = "Russian"
     90resource = s3db.resource("gis_location")
     91stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     92import_file = "AZ_L0.csv"
     93File = open(import_file, "r")
     94resource.import_xml(File, format="csv", stylesheet=stylesheet)
     95db.commit()
     96gis.update_location_tree()
     97db.commit()
     98}}}
     99
    50100=== Cambodia ===
    51101Admin Boundaries:
     
    85135}}}
    86136
     137=== Georgia ===
     138Admin Boundaries:
     139* [http://eden.sahanafoundation.org/downloads/GE_Lx.7z GE_Lx.7z]
     140
     141These have come originally from [http://gadm.org GADM] with Georgian & Russian names added from Wikipedia.
     142
     143Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     144{{{
     145cd /home/web2py
     146p7zip -d GE_Lx.7z
     147python web2py.py -S eden -M
     148
     149auth.override = True
     150settings.L10n.languages["ka"] = "Georgian"
     151settings.L10n.languages["ru"] = "Russian"
     152resource = s3db.resource("gis_location")
     153stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     154import_file = "GE_L0.csv"
     155File = open(import_file, "r")
     156resource.import_xml(File, format="csv", stylesheet=stylesheet)
     157db.commit()
     158gis.update_location_tree()
     159db.commit()
     160}}}
     161
    87162=== India ===
    88163Admin Boundaries:
     
    321396db.commit()
    322397}}}
     398
    323399=== Philippines ===
    324400Admin Boundaries:
     
    369445}}}
    370446
     447=== Tajikistan ===
     448Admin Boundaries:
     449* [http://eden.sahanafoundation.org/downloads/TJ_Lx.7z TJ_Lx.7z]
     450
     451These have come originally from [http://gadm.org GADM] with Tajik & Russian names added from Wikipedia.
     452
     453Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     454{{{
     455cd /home/web2py
     456p7zip -d TJ_Lx.7z
     457python web2py.py -S eden -M
     458
     459auth.override = True
     460settings.L10n.languages["tg"] = "Tajik"
     461settings.L10n.languages["ru"] = "Russian"
     462resource = s3db.resource("gis_location")
     463stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     464import_file = "TJ_L0.csv"
     465File = open(import_file, "r")
     466resource.import_xml(File, format="csv", stylesheet=stylesheet)
     467db.commit()
     468gis.update_location_tree()
     469db.commit()
     470}}}
     471
    371472=== Timor-Leste ===
    372473Admin Boundaries:
     
    393494db.commit()
    394495import_file = "TL_L3.csv"
     496File = open(import_file, "r")
     497resource.import_xml(File, format="csv", stylesheet=stylesheet)
     498db.commit()
     499gis.update_location_tree()
     500db.commit()
     501}}}
     502
     503=== Turkmenistan ===
     504Admin Boundaries:
     505* [http://eden.sahanafoundation.org/downloads/TM_Lx.7z TM_Lx.7z]
     506
     507These have come originally from [http://gadm.org GADM] with Turkmen & Russian names added from Wikipedia.
     508
     509Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     510{{{
     511cd /home/web2py
     512p7zip -d TM_Lx.7z
     513python web2py.py -S eden -M
     514
     515auth.override = True
     516settings.L10n.languages["tk"] = "Turkmen"
     517settings.L10n.languages["ru"] = "Russian"
     518resource = s3db.resource("gis_location")
     519stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     520import_file = "TM_L0.csv"
     521File = open(import_file, "r")
     522resource.import_xml(File, format="csv", stylesheet=stylesheet)
     523db.commit()
     524gis.update_location_tree()
     525db.commit()
     526}}}
     527
     528=== Uzbekistan ===
     529Admin Boundaries:
     530* [http://eden.sahanafoundation.org/downloads/UZ_Lx.7z UZ_Lx.7z]
     531
     532These have come originally from [http://gadm.org GADM] with Uzbek & Russian names added from Wikipedia.
     533
     534Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this:
     535{{{
     536cd /home/web2py
     537p7zip -d UZ_Lx.7z
     538python web2py.py -S eden -M
     539
     540auth.override = True
     541settings.L10n.languages["uz"] = "Uzbek"
     542settings.L10n.languages["ru"] = "Russian"
     543resource = s3db.resource("gis_location")
     544stylesheet = os.path.join(request.folder, "static", "formats", "s3csv", "gis", "location.xsl")
     545import_file = "UZ_L0.csv"
    395546File = open(import_file, "r")
    396547resource.import_xml(File, format="csv", stylesheet=stylesheet)