| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- % 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}{path directory of the shape files.}
- \item{layer}{str layer name.}
- \item{conf}{list database confuration. Default get_conf()}
- \item{id}{field andmebaasi unikaalne id veerg. Default '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.}
- }
- \description{
- Funktsioon kopeerib ESRI Shapefile objeketi postgis andmebaasi. Andmebaasi parameetri muutmiseks muuda konfiguratsiooni muutujat conf <- ruut::get_conf().
- }
- \examples{
- ## Not run:
- ##
- ## copy_qgis_object_to_db()
- ##
- ## End(**Not run**)
- }
- \keyword{ESRI}
- \keyword{Shapefile}
- \keyword{postgis,}
|