Changes between Version 88 and Version 89 of GIS/Data


Ignore:
Timestamp:
06/23/15 05:47:30 (6 years ago)
Author:
Fran Boon
Comment:

VN new data set

Legend:

Unmodified
Added
Removed
Modified
  • GIS/Data

    v88 v89  
    950950* [http://eden.sahanafoundation.org/downloads/VN_Lx.7z VN_Lx.7z]
    951951
    952 These have come originally from [http://gadm.org GADM] but with their L1 removed (so we use their L2 as our L1, etc)
    953 * GADM file has terrible problems with place names: at least 3 different encodings!
    954 * These have mostly been resolved & the file contains place names with no diacritics (to make it easier for non-Vietnamese to search for such places) as well as Vi name_l10n
    955 * Many updated boundaries from http://gis.chinhphu.vn by selecting the place & then using this JS:
    956 {{{
    957 points = plHighlight[0].latlngs[0];
    958 output = 'POLYGON ((';
    959 for (var i=0; i < points.length; i++) {
    960     p = points[i];
    961     output += p.longitude;
    962     output += ' ';
    963     output += p.latitude;
    964     output += ',';
    965 }
    966 output = output.slice(0, -1);
    967 output += '))';
    968 }}}
    969 or
    970 {{{
    971 output = 'MULTIPOLYGON (((';
    972 points = plHighlight[0].latlngs[0];
    973 for (var i=0; i < points.length; i++) {
    974     p = points[i];
    975     output += p.longitude;
    976     output += ' ';
    977     output += p.latitude;
    978     output += ',';
    979 }
    980 output = output.slice(0, -1); // Strip comma
    981 output += ')),((';
    982 points = plHighlight[1].latlngs[0];
    983 for (var i=0; i < points.length; i++) {
    984     p = points[i];
    985     output += p.longitude;
    986     output += ' ';
    987     output += p.latitude;
    988     output += ',';
    989 }
    990 output = output.slice(0, -1); // Strip comma
    991 output += ')))';
    992 }}}
    993 & then converted to WGS84 using:
    994 {{{
    995 ogr2ogr -f CSV CSV VN2000 Polygons.csv -s_srs EPSG:3405 -t_srs EPSG:4326 -lco GEOMETRY=AS_WKT
    996 }}}
     952These have come from  Viet Nam Red Cross.
    997953* Old boundaries have been left and start / end dates have been added from Wikipedia.
     954- the latest changes have unknown dates currently so are using 2015-01-01 until these are known.
    998955
    999956Use [http://7zip.org 7-Zip] to extract to your web2py folder & then install like this: