Skip to content
Prev 8286 / 29559 Next

writeOGR to GPX file: empty table

On Mon, 17 May 2010, Agustin Lobo wrote:

            
The variants are as described in the readOGR help file, that is layer=
"waypoints", "tracks", "routes", "track_points", or "route_points". Maybe 
reading the help page might save time??

Roger

PS. I think that the OGR GPX driver expects a number of fields that are 
most often absent when reading (so generating NULL/NA), and may not handle 
other extra user-defined fields gracefully. If need be, create a short 
string in the NAME or name field to concatenate the data you need, that is 
work around apparent shortcomings in the driver.