[GRASS-user] gpsbabel and garmin_txt, v.in.garmin, v.in.gpsbabel
- with garmin etrex
Philipp Steigenberger
userlist at online.de
Thu Feb 21 13:08:58 EST 2008
The gpsbabelproblem is solved. I attach the correspondence.
Neverthelesss I still hope for answers of the GRASS-related questions.
> Robert Lipe schrieb:
>>
>> On Thu, Feb 21, 2008 at 10:11 AM, Philipp Steigenberger
>> <userlist at online.de <mailto:userlist at online.de>> wrote:
>>
>>
>> cause I read in
>> http://www.gpsbabel.org/htmldoc-development/fmt_garmin_txt.html
>> that one can specify a grid-parameter:
>>
>>
>> Note that big green box that says " This is the README file from the
>> GPSBabel distribution. It may or may not match what is installed on your
>> system. For the best match, be sure to use the documentation for
>> specific version of GPSBabel that you are using."
>>
>>
>>
>> GPSBabel Version: 1.3.2
>>
>>
>> Grid was added after 1.3.2.
>>
> Philipp Steigenberger schrieb:
> Im sorry,
> i'm not a native speaker, so sometimes I try to read only the
> "important" things .... (but they weren't important enough)
>
> well thanx for the hint.
>
> This minutes I already tried to install the newest version using the
> .rpm and alien -i
> but when I type gpsbabel [--help] I only get the mesage
>
> >> Floating point exception <<
>
> Do I have to install something else?
>
> best regards
> Philipp
> Robert Lipe schrieb:
>>
>> This minutes I already tried to install the newest version using the
>> .rpm and alien -i
>> but when I type gpsbabel [--help] I only get the mesage
>>
>> >> Floating point exception <<
>>
>> Do I have to install something else?
>>
>>
>> The binary distribution is for Fedora. Users of Suse or Debian-based
>> distributions like Ubuntu would be best served by |rpmbuild --rebuild
>> whatever.rpm' | on the source rpm.
>>
>>
>> Or forgo the rpm completely and build from source.
>>
> Philipp Steigenberger schrieb:
> I installed it by using the tar.gz and make, make install.
> Fisrt I got some problems, but after a restart of the bash it works very
> well.
> Thank you
> om shantih
> Philipp
>
>
> [...]
> Finally I want to project the data in Gauss-Krueger-Projection
> (Transversal-Mercator).
>
> I know that GRASS contains v.in.gpsbabel and v.in.garmin. Its very nice
> that I get the data immediatley in Gauss-Krueger-coordinates. But using
> this tools it doesn't work to import altitude-data and other
> informations as well.
>
> Is there a posibility to get Gauss-Krueger-Data just by using gpsbabel?
>
>
>
>
>
> Between the ++++ I pasted the outputs of different attempts of
> v.in.garmin and v.in.gpsbael. Jump to the END if you want to save
> time!!! ;)
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> v.in.garmin port=/dev/ttyUSB0 -t -p out=vingarmin_gpstrans_tracks
> GPStrans (ASCII) - Version 0.39
> Copyright (c) 1995 by Carsten Tschach (tschach at zedat.fu-berlin.de)
> Linux/KKJ mods by Janne Sinkkonen <janne at iki.fi> (1996)
> Copyright (c) 2000 German Grid by Andreas Lange
> <andreas.lange at rhein-main.de>
> Copyright (c) 1998,2000 Mayko-mXmap mods by Matthias Kattanek
> <mattes at ugraf.com>
> Copyright (c) 2001 Development by Joao Seabra-CT2GNL <seabra at ci.AAC.uc.pt>
> Receiving Tracks...
> ERROR: Only DDD coordinates currently supported. [DMS]
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> v.in.garmin port=/dev/ttyUSB0 -t -p -u out=vingarmin_gardump_tracks
> Receiving Tracks...
>
> gardump: unknown track packet type: 0
> Attempting waypoint projection transform with cs2cs...
> Importing Track as points...
> ...
> Building topology for vector map <vingarmin_gardump_tracks>...
> 6792 primitives registered
> Building areas: 100%
>
> ---> with v.out.ascii I get this format:
> 4416848.824221|5359764.2067414|25 #id=25
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> v.in.garmin port=/dev/ttyUSB0 -t -p -u -z out=vingarmin_gardump_tracks_z
> Receiving Tracks...
> ...
> gardump: unknown track packet type: 0
> --> WARNING: No altitude data found, creating 2D vector map <--
> Attempting waypoint projection transform with cs2cs...
> and so on...
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> v.in.gpsbabel in=/dev/ttyUSB0 -t -p output=vingpsbabel_tracks
> Loading Tracks as points from </dev/ttyUSB0>...
> Attempting waypoint projection transform with cs2cs
> ...
> Building topology for vector map <vingpsbabel_tracks>...
> 6792 primitives registered
> Building areas: 100%
> ---> with v.out.ascii I get this format:
> 4416846.9562442|5359757.9513647|26 #id=26
>
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> v.in.gpsbabel in=/dev/ttyUSB0 -t -p output=vingpsbabel_tracks_ddd
> for=garmin_txt,grid=ddd
> Loading Tracks as points from </dev/ttyUSB0>...
> 'grid=ddd' is an unknown option to garmin_txt.
>
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> v.in.gpsbabel in=/dev/ttyUSB0 -t -p output=vingpsbabel_tracks_ddd
> for=garmin_txt
> Loading Tracks as points from </dev/ttyUSB0>...
> Quit
>
> Does not do anything...
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> END
>
>
>
>
>
>
> The solution I get for me is to connect the output of v.out.ascii and
> also the output of gpsbabel (both have 6792 points) paste them together,
> use awk and so on and import it enentually with v.in.ascii -z
>
> But this cannot be the final solution... can it????
>
More information about the grass-user
mailing list