finalise_basemap | R Documentation |
This function tidies up the final basemap and exports it to the "final" folder. It also outputs summary statistics. (NB: these should be checked, and recalculated if necessary, as MasterMap data may contain some overlapping polygons which will affect the area calculations.)
finalise_basemap(
mm = parent.frame()$mm,
projectLog = parent.frame()$projectLog,
export = TRUE,
format = "gpkg",
tiles = FALSE
)
mm |
The mm object loaded in the environment. It should have all the desired data added and classified. |
projectLog |
The RDS project log file generated by the wizard app and containing all file paths to data inputs and model parameters |
export |
Should a clipped, recombined version of the map be saved as a GIS file? Default TRUE |
format |
The desired output format, only used if export = TRUE. Currently supported are "gpkg" (geopackage, the default), "ESRI Shapefile" and "MapInfo File". |
tiles |
Should the basemap be exported as 10x10km tiles? Defaults to FALSE but may be required for large study areas which may take a long time to render in a GIS software. Only used when export = TRUE. |
Saves a project_title_final.RDS and optionally a project_title_final GIS file to project folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.