Skip to content
Prev 23244 / 29559 Next

GPX and writeOGR

Dear listers,

I am struggling with writeOGR (package rgdal) to make it write a gpx 
file. Among other trials, I am stuck with this (dbposWGS84 is a 
SpatialPointsDataFrame with three attribute fields):

writeOGR(dbposWGS84,"dbposWGS84","waypoints","GPX") Error in 
writeOGR(dbposWGS84, "dbposWGS84", "waypoints", "GPX") : Creating Name 
field failed


Any idea about what is going wrong ?

Patrick