copy_shp_to_db.Rd 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/copy_shp_to_db.R
  3. \name{copy_shp_to_db}
  4. \alias{copy_shp_to_db}
  5. \title{ESRI Shapefile kopeerimine andmebaasi}
  6. \usage{
  7. copy_shp_to_db(
  8. dir = NULL,
  9. layer = NULL,
  10. conf = NULL,
  11. id = "fid",
  12. crs_source = "EPSG:4326",
  13. crs_target = "EPSG:4326",
  14. geometry_type = "PROMOTE_TO_MULTI"
  15. )
  16. }
  17. \arguments{
  18. \item{dir}{The directory where the shapefiles are located.}
  19. \item{layer}{str Layer to use.}
  20. \item{conf}{A list() of configuration variables. Default values \code{\link[ruut]{get_config}}.}
  21. \item{id}{A specified feature id will be processed. Unique field database. Default value 'fid'.}
  22. \item{crs_source}{CRS source CRS for example 'EPSG:3301' (Estonia). Default is 'EPSG:4326'.}
  23. \item{crs_target}{CRS target CRS for example 'EPSG:4326'. Default is 'EPSG:4326'.}
  24. \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.}
  25. }
  26. \value{
  27. No output.
  28. }
  29. \description{
  30. Funktsioon kopeerib ESRI Shapefile objekti postgis andmebaasi. Andmebaasi ja konfiguratsiooni muutmiseks muuda konfiguratsiooni muutujat \code{conf}. Vaata \code{\link[ruut]{get_config}}.
  31. }
  32. \examples{
  33. ## Not run:
  34. ##
  35. ## copy_qgis_object_to_db()
  36. ##
  37. ## End(**Not run**)
  38. }
  39. \seealso{
  40. \code{\link[=db_create_new_schema]{db_create_new_schema()}}, \code{\link[=get_config]{get_config()}}
  41. }
  42. \keyword{ESRI}
  43. \keyword{Shapefile}
  44. \keyword{postgis,}