MazamaSpatialUtils (version 0.6.4)

convertOSMTimezones: Convert OSM Timezone Shapefile

Description

A world timezone shapefile is downloaded from https://github.com/evansiroky/timezone-boundary-builder/releases and converted to a SpatialPolygonsDataFrame with additional columns of data. The resulting file will be created in the spatial data directory which is set with setSpatialDataDir().

Usage

convertOSMTimezones(dsnPath = NULL, nameOnly = FALSE)

Arguments

dsnPath

optional directory where the timezones.shapefile.zip file is found (in case web access isn't working)

nameOnly

logical specifying whether to only return the name without creating the file

Value

Name of the dataset being created.

References

https://github.com/evansiroky/timezone-boundary-builder/releases

See Also

setSpatialDataDir

convertWikipediaTimezoneTable