Permalink
Browse files

fixes for 蘇澳 effective 2013-04-01

  • Loading branch information...
1 parent 955fcf1 commit 9d34d5289abc154eb119080d8c0b2ef417b92c18 @clkao clkao committed Apr 28, 2013
Showing with 4 additions and 2 deletions.
  1. +3 −1 cleanup-nlsc.ls
  2. +1 −1 districts.csv
View
@@ -16,9 +16,11 @@ by-vid = {}
set.features.=map ({properties}:f) ->
return f if properties.TOWN is /\(海\)/
- delete properties.V_ID if properties.V_ID is \10004010-021 # incorrect id
+ # incorrect id
+ delete properties.V_ID if properties.V_ID in <[10004010-021 10002030-009]>
if properties.ET_ID is 7822
properties.V_ID = '09007020-005'
+
unless properties.V_ID
if properties.VILLAGE is /[村里]$/
[matched] = [v for v in villages when v<[county town name]> === properties<[COUNTY TOWN VILLAGE]>]
View
@@ -126,7 +126,6 @@ id,name,town,county,vid,tid,cid,icid,itid,ivid,code
10002030-003,永榮里,蘇澳鎮,宜蘭縣,003,10002030,10002,ILA,ILA-030,ILA-030-003,A0203-003-00
10002030-004,存仁里,蘇澳鎮,宜蘭縣,004,10002030,10002,ILA,ILA-030,ILA-030-004,A0203-004-00
10002030-005,港邊里,蘇澳鎮,宜蘭縣,005,10002030,10002,ILA,ILA-030,ILA-030-005,A0203-005-00
-10002030-006,岳明里,蘇澳鎮,宜蘭縣,006,10002030,10002,ILA,ILA-030,ILA-030-006,A0203-006-00
10002030-007,隘丁里,蘇澳鎮,宜蘭縣,007,10002030,10002,ILA,ILA-030,ILA-030-007,A0203-007-00
10002030-008,新城里,蘇澳鎮,宜蘭縣,008,10002030,10002,ILA,ILA-030,ILA-030-008,A0203-008-00
10002030-009,聖湖里,蘇澳鎮,宜蘭縣,009,10002030,10002,ILA,ILA-030,ILA-030-009,A0203-009-00
@@ -147,6 +146,7 @@ id,name,town,county,vid,tid,cid,icid,itid,ivid,code
10002030-024,東澳里,蘇澳鎮,宜蘭縣,024,10002030,10002,ILA,ILA-030,ILA-030-024,A0203-024-00
10002030-025,南強里,蘇澳鎮,宜蘭縣,025,10002030,10002,ILA,ILA-030,ILA-030-025,A0203-025-00
10002030-026,朝陽里,蘇澳鎮,宜蘭縣,026,10002030,10002,ILA,ILA-030,ILA-030-026,A0203-026-00
+10002030-027,聖愛里,蘇澳鎮,宜蘭縣,027,10002030,10002,ILA,ILA-030,ILA-030-027,A0203-027-00
10002040-001,石城里,頭城鎮,宜蘭縣,001,10002040,10002,ILA,ILA-040,ILA-040-001,A0204-001-00
10002040-002,大里里,頭城鎮,宜蘭縣,002,10002040,10002,ILA,ILA-040,ILA-040-002,A0204-002-00
10002040-003,大溪里,頭城鎮,宜蘭縣,003,10002040,10002,ILA,ILA-040,ILA-040-003,A0204-003-00

0 comments on commit 9d34d52

Please sign in to comment.