shp2kml.Rd
Convert ESRI shapefile (*.shp) to keyhole markup language (KML) file format
shp2kml(
dir,
ext,
kmz = FALSE,
proj4 = NULL,
color = NULL,
NameField = NULL,
out.dir = NULL
)
Directory of GIS shapefiles to convert to kml/kmz
File extension for files to convert to kml/kmz. Defaults to ESRI shapefile, '.shp'. [Place holder for other potential vector files to conver to kml]
TRUE/FALSE. Option to write out file as a compressed kml. Requires zip utility
OPTIONAL. Define output proj4 projection string. If set, input vector will be reprojected to desired projection. Not yet implemented.
OPTIONAL. Fill color for output kml/kmz file
OPTIONAL. Define names for individual features in KML/KMZ file
OPTIONAL. Output directory for converted files