From 6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 13 Jul 2018 19:06:45 +0200 Subject: Fixed many permissions and began admin interface --- .../jvectormap/tests/processor/continents.json | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 public/bower_components/jvectormap/tests/processor/continents.json (limited to 'public/bower_components/jvectormap/tests/processor/continents.json') diff --git a/public/bower_components/jvectormap/tests/processor/continents.json b/public/bower_components/jvectormap/tests/processor/continents.json new file mode 100644 index 0000000..c4b4e9b --- /dev/null +++ b/public/bower_components/jvectormap/tests/processor/continents.json @@ -0,0 +1,58 @@ +[{ + "name": "read_data", + "file_name": "/Users/kirilllebedev/Maps/ne_110m_admin_0_map_units/ne_110m_admin_0_map_units.shp" +},{ + "name": "join_data", + "data": { + + }, + "fields": [{ + "name": "region_wb", + "type": 4, + "width": 100 + },{ + "name": "r_wb_code", + "type": 4, + "width": 4 + }], + "on": "region_wb" +},{ + "name": "merge", + "fields": [{ + "name": "code", + "type": 4, + "width": 2 + },{ + "name": "name", + "type": 4, + "width": 100 + }], + "rules": [{ + "fields": { + "name": "Americas", + "code": "AM" + }, + "where": "region_wb in {'Latin America & Caribbean', 'North America'}" + },{ + "fields": { + "name": "Europe", + "code": "EU" + }, + "where": "region_wb == 'Europe & Central Asia'" + },{ + "fields": { + "name": "Asia Pacific and MEIA", + "code": "AP" + }, + "where": "region_wb == 'East Asia & Pacific'" + },{ + "fields": { + "name": "India and Africa", + "code": "IA" + }, + "where": "region_wb in {'Middle East & North Africa', 'South Asia', 'Sub-Saharan Africa'}" + }] +},{ + "name": "write_data", + "file_name": "/Users/kirilllebedev/Maps/continents/continents.shp" +}] \ No newline at end of file -- cgit v1.2.3