copy_qgis_object_to_db.Rd 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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}{list database configuration. Default get_config()}
  19. \item{id}{field andmebaasi unikaalne id veerg. Default '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. \description{
  25. Funktsioon kopeerib QGIS objeketi postgis andmebaasi. Andmebaasi parameetri muutmiseks muuda konfiguratsiooni muutujat config <- ruut::get_config().
  26. }
  27. \examples{
  28. ## Not run:
  29. ##
  30. ## copy_qgis_object_to_db()
  31. ##
  32. ## End(**Not run**)
  33. }
  34. \keyword{QGIS}
  35. \keyword{object}
  36. \keyword{postgis,}