copy_shp_to_db.Rd 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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}{path directory of the shape files.}
  19. \item{layer}{str layer name.}
  20. \item{conf}{list database confuration. Default get_conf()}
  21. \item{id}{field andmebaasi unikaalne id veerg. Default '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. \description{
  27. Funktsioon kopeerib ESRI Shapefile objeketi postgis andmebaasi. Andmebaasi parameetri muutmiseks muuda konfiguratsiooni muutujat conf <- ruut::get_conf().
  28. }
  29. \examples{
  30. ## Not run:
  31. ##
  32. ## copy_qgis_object_to_db()
  33. ##
  34. ## End(**Not run**)
  35. }
  36. \keyword{ESRI}
  37. \keyword{Shapefile}
  38. \keyword{postgis,}