OpenStreetMap logo OpenStreetMap

BitSchupser'ரின் நாட்குறிப்பேடு

சமீப டைரி உள்ளீடுகள்

Shell script to filter gpx tracks before uploading

Posted by BitSchupser on 22 ஏப்ரல் 2011 in English.

I wrote a little shell script that processes various gpsbabel filters on gpx files, perhaps it is usefull for somewone else.

The following filters will be used:
- remove any trackpoints in the neighbourhood of your home (for privacy, do not forget to enter your position, lat= and lon=) (if you want to filter more regions you can duplicate the radius,distance line)
- remove any trackpoints that have a distance < 2 meters
- remove duplicate trackpoints
- simplify the track (removes unnecessary trackpoints)
- remove trackpoints with a hdop > 4

Here is the script:

#!/bin/sh
if [ -z "$1" -o -z "$2" ]; then
echo "usage: $0 infile outfile"
exit 1
fi

tmpfile=$(mktemp)

gpsbabel -i gpx -f "$1" \
-x transform,wpt=trk,del \
-x radius,distance=0.8K,lat=48,lon=11,nosort,exclude \
-x transform,trk=wpt,del \
-x duplicate,location \
-x position,distance=2m \
-x simplify,crosstrack,error=0.001k \
-x discard,hdop=4 \
-o gpx -F "$tmpfile"

# removes some crap gpsbabel added to the file
sed '/^.*<name>.*$/d' "$tmpfile" | sed '/^.*<cmt>.*$/d' | sed '/^.*<desc>.*$/d' > $2

rm $tmpfile

Wikiseite Günzburg

Posted by BitSchupser on 6 மார்ச் 2010 in German (Deutsch).

Hallo miteinander,
soeben habe ich eine Wikiseite (osm.wiki/Landkreis_Günzburg) für den Landkreis Günzburg erstellt. Ich hoffe, wir können die Arbeit darin etwas koordinieren und den Status des Landkreises erfassen.

Grüße
Alex

New track

Posted by BitSchupser on 17 ஆகஸ்ட் 2009 in English.

I just arrived from a journey threw Gaismarkt Winzer and Aletshausen and added some of the residential roads of these villages. There is amazing weather in the south of Germany - so mapping with the bike is just a great occupation :)

இடம்: Wasserberg, Haupeltshofen, Aletshausen, Krumbach (Schwaben) (VGem), Landkreis Günzburg, Bavaria, 86480, Germany

Starting to collect data with my bicycle

Posted by BitSchupser on 9 ஆகஸ்ட் 2009 in English.

Hi everybody. This is my first article in my OSM blog :-).
I just got a holder to mount my smart phone onto my bike. Tomorow I will start my first journey to collect data by bike - I think this will be much more fun than by car.
Near my hometown there are many villages and hamlets who need to be collected - much work for the summer holiday :-)

இடம்: Niederraunau, Krumbach (Schwaben), Landkreis Günzburg, Bavaria, 86381, Germany