source: subversion/utils/osm2csv/create_all.sh @ 1380

Last change on this file since 1380 was 1380, checked in by joerg, 14 years ago

fix stipe creation

  • Property svn:executable set to *
File size: 490 bytes
Line 
1#!/bin/bash
2# This script creates all stripe_*.csv and the concatenates
3# them all. This way we don't need this much of memory for the task
4
5dir=`dirname $0 `
6areas=`$dir/osm2csv.pl --list-areas`
7
8for a in $areas ; do
9    echo $a | grep -q  'stripe_' || continue
10    echo ""
11    echo "=================================================="
12    echo "Trying Area $a"
13  $dir/osm2csv.pl -v --update-only --area=$a 
14done
15cat ~/osm/planet/csv/osm-stripe_*.csv | sort -u > ~/osm/planet/csv/osm.csv
Note: See TracBrowser for help on using the repository browser.