Permalink
Browse files

* bug fix: remove neighbouring countries (NOT including AT) from Aust…

…ria's broken.txt

* runde/combine: merge with austria
  • Loading branch information...
1 parent ef6feca commit 6cd121c7d2ec2282501228a41450cdd5bd18bf17 @gulp21 committed Feb 19, 2012
Showing with 9 additions and 3 deletions.
  1. +3 −1 housenumbervalidator.cpp
  2. +1 −1 runaustria
  3. +5 −1 runde
View
@@ -1,5 +1,5 @@
/*
- v120114
+ v120219
Copyright (C) 2012 Markus Brenneis
@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ TODO: use osm-convert for converting ways to nodes and remove memory consuming storage of lat/lon for each node
*/
#include <iostream>
View
@@ -42,7 +42,7 @@ function run {
exit 4;
fi
- grep -v -P "\tNL\t|\tBE\t|\tDK\t|\tFR\t|\tLU\t|\tNL\t|\tCH\t|\tAT\t|\tPL\t|\tCZ\t" broken.txt | grep -v --file=../html/reports.txt > brok
+ grep -v -P "\tDE\t|\tIT\t|\tLI\t|\tSK\t|\tCH\t|\tSI\t|\tCZ\t|\tHU\t" broken.txt | grep -v --file=../html/reports.txt > brok
echo $((`cat broken.txt | wc -l`-`cat brok | wc -l`)) foreign lines removed
mv brok broken.txt
View
6 runde
@@ -110,7 +110,7 @@ function combine {
echo "" >> log.txt
done
- grep -v -P "\tNL\t|\tBE\t|\tDK\t|\tFR\t|\tLU\t|\tNL\t|\tCH\t|\tAT\t|\tPL\t|\tCZ\t" broken.txt | grep -v --file=../html/reports.txt > brok
+ grep -v -P "\tBE\t|\tDK\t|\tFR\t|\tLU\t|\tNL\t|\tCH\t|\tAT\t|\tPL\t|\tCZ\t" broken.txt | grep -v --file=../html/reports.txt > brok
echo $((`cat broken.txt | wc -l`-`cat brok | wc -l`)) foreign lines removed
mv brok broken.txt
@@ -121,6 +121,10 @@ function combine {
wc -l dupes.txt
echo Broken:
wc -l broken.txt
+
+ echo Merging with austria...
+ cat ../austria/dupes.txt >> dupes.txt
+ cat ../austria/broken.txt >> broken.txt
}
if [ $1 == "c" ]; then

0 comments on commit 6cd121c

Please sign in to comment.