Skip to content
Prev 15454 / 29559 Next

writeOGR() to shapefile and dates/times classes

On Sun, 24 Jun 2012, Agustin Lobo wrote:

            
Please provide a reproducible example, and sessionInfo() output.

The function already converts the standard date and time classes POSIXct, 
POSIXlt, Date and POSIXt to character. If the user chooses a non-base 
date-time representation, arguably the user should then convert to a base 
class first, otherwise rgdal would depend on zoo, xts, lubridate or 
whatever.

Roger