| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/copy_shp_to_db.R
- \name{copy_shp_to_db}
- \alias{copy_shp_to_db}
- \title{ESRI Shapefile kopeerimine andmebaasi}
- \usage{
- copy_shp_to_db(
- dir = NULL,
- layer = NULL,
- conf = NULL,
- id = "fid",
- crs_source = "EPSG:4326",
- crs_target = "EPSG:4326",
- geometry_type = "PROMOTE_TO_MULTI"
- )
- }
- \arguments{
- \item{dir}{The directory where the shapefiles are located.}
- \item{layer}{str Layer to use.}
- \item{conf}{A list() of configuration variables. Default values \code{\link[ruut]{get_config}}.}
- \item{id}{A specified feature id will be processed. Unique field database. Default value 'fid'.}
- \item{crs_source}{CRS source CRS for example 'EPSG:3301' (Estonia). Default is 'EPSG:4326'.}
- \item{crs_target}{CRS target CRS for example 'EPSG:4326'. Default is 'EPSG:4326'.}
- \item{geometry_type}{str Force a geometry type for new layer. One of: NONE, GEOMETRY, POINT, LINESTRING, POLYGON, GEOMETRYCOLLECTION, MULTIPOINT, MULTIPOLYGON, or MULTILINESTRING, or PROMOTE_TO_MULTI or CONVERT_TO_LINEAR. Add "25D" for 3D layers.}
- }
- \value{
- No output.
- }
- \description{
- Funktsioon kopeerib ESRI Shapefile objekti postgis andmebaasi. Andmebaasi ja konfiguratsiooni muutmiseks muuda konfiguratsiooni muutujat \code{conf}. Vaata \code{\link[ruut]{get_config}}.
- }
- \examples{
- ## Not run:
- ##
- ## copy_qgis_object_to_db()
- ##
- ## End(**Not run**)
- }
- \seealso{
- \code{\link[=db_create_new_schema]{db_create_new_schema()}}, \code{\link[=get_config]{get_config()}}
- }
- \keyword{ESRI}
- \keyword{Shapefile}
- \keyword{postgis,}
|