saveSamplePoints.Rd 1.38 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/save_files.r
\name{saveSamplePoints}
\alias{saveSamplePoints}
\title{Save Sample Points}
\usage{
saveSamplePoints(
  in_path,
  step,
  class_name,
  output_format = c("shp", "geojson"),
  ref_samples,
  ref_switch,
Johannes Knoch's avatar
Johannes Knoch committed
14
  num_models,
15
16
  dummy_raster,
  overwrite = TRUE
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
)
}
\arguments{
\item{in_path}{file path (character) for results of habitat type sampling and probability mapping (same as outPath from function multi_Class_Sampling)}

\item{step}{step number (numeric)}

\item{class_name}{name (character) of habitat type for which samples should be selected}

\item{output_format}{format (character) of output; whether shp (default) or geojson}

\item{ref_samples}{list of reference sample points}

\item{ref_switch}{vector with switch values}

Johannes Knoch's avatar
Johannes Knoch committed
32
\item{num_models}{number of models used for the classification of a habitat}
33
34

\item{dummy_raster}{raster with probabilities for each pixel}
35
36

\item{overwrite}{overwrite file (default TRUE)}
37
38
39
40
}
\value{
ESRI shapefiles/GeoJSON with name: SamplePoints_step_classname.shp/SamplePoints_step_classname.geojson
\enumerate{
Johannes Knoch's avatar
Johannes Knoch committed
41
\item Point Shape/GeoJSON represents the pixels which were used to train the models for that habitat.
42
43
44
45
46
47
ESRI shapefiles have the same CRS as the input raster. GeoJSON files are in the standard CRS of GeoJSON (EPSG:4326).
}
}
\description{
Saves the reference sample points
}