[gdal-dev] orginfo unable to open GPX file
Brett Walker
brett.walker at geometryit.com
Tue Feb 5 15:05:35 PST 2013
Hi Richard,
After further investigation I suspect that it is the configuration of my Linux box. It reports that it is GPX enabled but after adding an XML header (<?xml version="1.0" encoding="UTF-8"?>) to the file it reported that it cannot find the expat library. This is more informative that the error message I posted the other day. Are tests done on the reading of GPX file without the XML header?
Windows is my native platform, so with my lack of experience, I may have screwed up the environment. I feel that it is more likely to be my problem rather than GDAL's.
After assessing our business needs, using GDAL/OGR to read GPX is a bit excessive. We have decided to write out own XML parser to read GPX. So my desire to have this problem resolved has disappeared.
I'm happy to file a ticket with a GPX file attached but this could create unnecessary work. Is it warranted now?
Brett
-----Original Message-----
From: Richard Didier [mailto:didier.richard at ign.fr]
Sent: Tuesday, 5 February 2013 7:40 PM
To: Brett Walker
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] orginfo unable to open GPX file
Le mardi 5 février 2013 15:14:16 Brett Walker a écrit :
> HI,
>
Hello Brett,
> I have compiled GDAL/OGR with support for GPX files. 'ogrinfo -formats'
> reports '-> "GPX" (read/write)'. This I take as being good that GPX
> support is enabled.
>
> When I run the following command: 'ogrinfo -ro -al Track_003.gpx' it
> reports:
>
> FAILURE:
> Unable to open datasource `Track_003.gpx' with the following drivers.
>
> With a list of drivers; GPX being one of them.
>
> 'Track_003.gpx' is in the current directory.
>
> What could be wrong? What to look for? How to solve this problem?
>
Could you file a ticket about that, with the gpx file attached, in http://trac.osgeo.org/gdal/newticket and add 'dgrichard' (me) in the CC field
Regards,
didier
> Brett
>
> Brett Walker
> <brett.walker at geometryit.com<mailto:brett.walker at geometryit.com>>
> Software Developer / Analyst Geometry Pty Ltd
>
> Telephone 03 6223 1999
> Mobile 0458 498 386
> Fax 03 6223 1988
> Web www.geometryit.com<http://www.geometryit.com/>
> Address 31 Salamanca Square, Battery Point, TAS 7004,
> Australia
--
RICHARD Didier - Chef du pôle technique du Géoportail 2/4, avenue Pasteur - 94165 Saint Mandé Cedex Tél : +33 (0) 1 43 98 83 23
More information about the gdal-dev
mailing list