copy_qgis_object_to_db.Rd 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/copy_qgis_object_to_db.R
  3. \name{copy_qgis_object_to_db}
  4. \alias{copy_qgis_object_to_db}
  5. \title{QGIS objekti kopeerimine andmebaasi}
  6. \usage{
  7. copy_qgis_object_to_db(
  8. x = NULL,
  9. conf = NULL,
  10. id = "fid",
  11. crs_source = "EPSG:4326",
  12. crs_target = "EPSG:4326",
  13. geometry_type = "PROMOTE_TO_MULTI"
  14. )
  15. }
  16. \arguments{
  17. \item{x}{object of 'qgis_result' spatial object.}
  18. \item{conf}{A list() of configuration variables. Default values \code{\link[ruut]{get_config}}.}
  19. \item{id}{A specified feature id will be processed. Unique field database. Default value 'fid'.}
  20. \item{crs_source}{CRS source CRS for example 'EPSG:3301' (Estonia). Default is 'EPSG:4326'.}
  21. \item{crs_target}{CRS target CRS for example 'EPSG:4326'. Default is 'EPSG:4326'.}
  22. \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.}
  23. }
  24. \value{
  25. No output.
  26. }
  27. \description{
  28. Funktsioon kopeerib QGIS objekti ('qgis_object') postgis andmebaasi. Andmebaasi ja konfiguratsiooni muutmiseks muuda konfiguratsiooni muutujat \code{conf}. Vaata \code{\link[ruut]{get_config}}.
  29. }
  30. \examples{
  31. \dontrun{
  32. copy_qgis_object_to_db()
  33. }
  34. }
  35. \seealso{
  36. \code{\link[=db_create_new_schema]{db_create_new_schema()}}, \code{\link[=get_config]{get_config()}}, \url{https://gdal.org/programs/ogr2ogr.html}
  37. }
  38. \keyword{QGIS}
  39. \keyword{object}
  40. \keyword{postgis,}