<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
<p>Hi Tom:</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 02/09/2019 2:11, Thomas Adams wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGxgkWjXVarsmSEkBTKv+Ms_gjFYcb_dn04f6mVikdqq4c6ONQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>All:</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>v.in.gps -t input=/home/teaiii/Current.gpx
output=slv_test_track</div>
</div>
</blockquote>
<p><br>
</p>
<p>I don't know what the story is with v.in.gps. The code looks
strange:</p>
<pre><font size="+1"> 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()</font>
</pre>
<p>But this seems to work fine:</p>
<p><br>
</p>
<p><font size="+1"><tt>micha@TP480:work$ v.in.ogr input=Current.gpx
output=test_trk layer=tracks</tt><tt><br>
</tt><tt>Check if OGR layer <tracks> contains polygons...</tt><tt><br>
</tt><tt> 100%</tt><tt><br>
</tt><tt>Creating attribute table for layer <tracks>...</tt><tt><br>
</tt><tt>Importing 1 features (OGR layer <tracks>)...</tt><tt><br>
</tt><tt> 100%</tt><tt><br>
</tt><tt>-----------------------------------------------------</tt><tt><br>
</tt><tt>Building topology for vector map
<test_trk@PERMANENT>...</tt><tt><br>
</tt><tt>Registering primitives...</tt></font><br>
<br>
</p>
<blockquote type="cite"
cite="mid:CAGxgkWjXVarsmSEkBTKv+Ms_gjFYcb_dn04f6mVikdqq4c6ONQ@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Tom<br>
</div>
<div><br>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr"><br>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>