Navigation Menu

Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Aug 28, 2015
1 parent 80eefbb commit e4273a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extract
Expand Up @@ -24,15 +24,17 @@ do
IFS="," read -ra STR_ARRAY <<< "$users"
for j in "${STR_ARRAY[@]}"
do
./osmfilter $i.osc --keep="\"@user=$j\"" -o=$i-$(echo $j | tr -d ' ').osm
./osmfilter hig-$i.osm --keep="\"@user=$j\"" -o=$i-$(echo $j | tr -d ' ').osm

done

#./osmfilter hig-$i.osm --keep="\"$(cat u)\"" -o=u-$i.osm
./osmconvert $i-* -o=u-$i.osm
node index.js --osmfile=u-$i.osm


ogr2ogr -f "PostgreSQL" PG:"host=localhost user=postgres dbname=dbprotiger" -append u-$i.geojson
rm $i-*
rm $i.osc
rm $i.o5m
rm hig-$i.osm
Expand Down

0 comments on commit e4273a8

Please sign in to comment.