[GRASS-dev] Re: [GRASS GIS] #1171: wingrass: include a gpsbabel
with XML support
GRASS GIS
trac at osgeo.org
Thu Sep 23 13:30:11 EDT 2010
#1171: wingrass: include a gpsbabel with XML support
--------------------------------+-------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.1
Component: Packaging | Version: svn-develbranch6
Keywords: gpsbabel, wingrass | Platform: MSWindows XP
Cpu: x86-64 |
--------------------------------+-------------------------------------------
Comment(by hellik):
Replying to [comment:8 hellik]:
> Replying to [comment:6 hamish]:
> > try quoting the input file name, the \x is being treated as a literal
character "x", not "\" and "x".
> >
> > {{{
> > -input=C:\wd\mg\ask_bayern_ll_wgs84.gpx
> > +input="C:\wd\mg\ask_bayern_ll_wgs84.gpx"
> > }}}
> >
> > what terminal is this from? (I'd expect it if unquoted from sh/bash)
> >
> >
> > Hamish
>
> tested as quoted in the wxgui:
>
> {{{
> v.in.gpsbabel -w input="C:\wd\mg\testgpsbabel.gpx" output=test2
format=gpx
> Loading Waypoints from <"C:wdmgtestgpsbabel.gpx">...
> GPX: Cannot open file '"C:wdmgtestgpsbabel.gpx"'!
> c:/Program Files/GRASS-65-SVN/scripts/v.in.gpsbabel: line
> 271: C:\gisdata\grassdata/wgs84gc/user1/.tmp/5640.0.xcsv: No
> such file or directory
> c:/Program Files/GRASS-65-SVN/scripts/v.in.gpsbabel: line
> 271: [: : integer expression expected
> ERROR: Error loading data from gpsbabel
> }}}
>
> it doesn't work neither with a quoted path in the wxgui. the path-
problem remains.
>
> Helmut
following tested in the WinGrass65-msys-cmd-line
{{{
v.in.gpsbabel -w input="C:\wd\mg\testgpsbabel.gpx" output=test2 format=gpx
}}}
there it's working with the quoted path.
so back to the original issue of this ticket:
the gpsbabel.exe from http://www.gpsbabel.org/download.html - copied over
that version delivered by osgeo4w - v.in.gpsbabel works in WinGrass.
Helmut
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1171#comment:9>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list