|
|
@@ -56,7 +56,7 @@ pk_teisendame_punkte <- function(obj = NULL, conf = NULL) {
|
|
|
conf = conf, geometry_type = "MultiPolygon", srid = 3301,
|
|
|
checkPrimaryKeyUnicity = TRUE, key = "id", geometry_field = "geom"
|
|
|
)
|
|
|
- epk02t_table_name <- sprintf("epk02t_%s", gsub("^data_", "", layer_name))
|
|
|
+ epk02t_table_name <- sprintf("grid_%s", gsub("^data_", "", layer_name))
|
|
|
conf$table <- epk02t_table_name
|
|
|
output <- ruut::construct_to_gpkg_output_postgres_str(conf = conf, geometry_field = "geom", geometry_type = "Point", srid = 3301, checkPrimaryKeyUnicity = FALSE, key = "id")
|
|
|
str <- sprintf("{ 'CLASSFIELD' : '', 'FIELD' : 'value', 'OUTPUT' : '%s', 'POINTS' : '%s', 'POLYGONS' : '%s', 'WEIGHT' : '' }", output, points, polygons)
|