Description Usage Arguments Examples
Export layers
for one or more NTS reference(s) ntsid
to path tofolder
,
automatically renaming layers based on their layerid. Pass crs
to re-project data,
or pass driver
to convert file format.
1 2 |
ntsid |
One or more NTS References as generated by |
tofolder |
A directory to which files should be copied. |
layers |
One or more layer ids as listed in |
crs |
A CRS (as generated by |
cachedir |
Pass a specific cache directory in which files have been extracted.
Default value is that returned by |
driver |
A |
combine |
|
overwrite |
|
... |
Arguments passed on to |
1 2 3 4 5 6 7 | canvec.download(nts("21h01"))
canvec.export(nts("21h01"), "exporteddata", layers=c("road", "river"))
canvec.export(nts("21h01"), "exporteddataUTM", layers=c("road", "river"),
crs=sp::CRS("+init=epsg:26920"))
canvec.export(nts("21h01"), "exporteddata", layers=c("road", "river"),
driver="KML")
canvec.export(nts("21h01"), "exporteddataALL")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.