[GRASS-user] v.in.gps issue

All:

I’m running GRASS 7.6.0, I built from source, on Ubuntu 19.04. No issues up to this point. However, for the first time -ever-, I’m trying to use v.in.gps:

v.in.gps -t input=/home/teaiii/Current.gpx output=slv_test_track

the Current.gpx file looks very reasonable (attached). When I run the above command, I get no errors, but the slv_test_track vector file is not created either – no errors are generated. I installed GPSBabel after building GRASS 7.6. Any thoughts what I’m doing or have done wrong?

Thank you,
Tom

(attachments)

Current.gpx (7.85 KB)

Hi Tom:

···

On 02/09/2019 2:11, Thomas Adams wrote:

All:

I’m running GRASS 7.6.0, I built from source, on Ubuntu 19.04. No issues up to this point. However, for the first time -ever-, I’m trying to use v.in.gps:

v.in.gps -t input=/home/teaiii/Current.gpx output=slv_test_track

I don’t know what the story is with v.in.gps. The code looks strange:

    if format == 'gpx':
        # short circuit, we have what we came for.
#todo
#        grass.try_remove(output)
#        os.rename(tmp_gpx, output)
        grass.verbose("Fast exit.")
        sys.exit()

But this seems to work fine:

micha@TP480:work$ v.in.ogr input=Current.gpx output=test_trk layer=tracks
Check if OGR layer <tracks> contains polygons...
100%
Creating attribute table for layer <tracks>...
Importing 1 features (OGR layer <tracks>)...
100%
-----------------------------------------------------
Building topology for vector map <test_trk@PERMANENT>...
Registering primitives...

the Current.gpx file looks very reasonable (attached). When I run the above command, I get no errors, but the slv_test_track vector file is not created either – no errors are generated. I installed GPSBabel after building GRASS 7.6. Any thoughts what I’m doing or have done wrong?

Thank you,
Tom

_______________________________________________
grass-user mailing list
[grass-user@lists.osgeo.org](mailto:grass-user@lists.osgeo.org)
[https://lists.osgeo.org/mailman/listinfo/grass-user](https://lists.osgeo.org/mailman/listinfo/grass-user)
-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918