write_gml | R Documentation |
write_gml
uses rgdal::writeOGR
for the spatial data writer
and will write projection information.
write_gml(sp, file, layer = "spatial")
sp |
Spatial object to be written as a GML/XML file. |
file |
Filename of GML/XML file. |
layer |
A string which represents the layer of the GML file where the
geometries will be stored. Default uses a generic |
Stuart K. Grange
## Not run:
# Export polygons
write_gml(sp_zones, "~/Desktop/zone_polygons.gml", layer = "zones")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.