[GRASS-dev] Re: [GRASS GIS] #577: v.in.ogr: imported GPX file
results in N=0, W=0
GRASS GIS
trac at osgeo.org
Wed May 6 10:04:05 EDT 2009
#577: v.in.ogr: imported GPX file results in N=0, W=0
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords: v.in.ogr, gpx
Platform: Linux | Cpu: x86-32
---------------------+------------------------------------------------------
Comment (by hamish):
Ok, I think I found it.
The GPX file as created by GpsBabel (direct download from the Garmin GPS
unit) includes an empty track:
{{{
<trk>
<name>ACTIVE LOG</name>
<trkseg>
</trkseg>
</trk>
}}}
which seems to be the cause.
test track uploaded to this ticket.
{{{
db.connect driver=sqlite
database='$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db'
v.in.ogr dsn=test_5.gpx out=test5
}}}
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/577#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list