Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Nov 21, 2023
1 parent 281c864 commit cc32bc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/gpkg_bbox.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
#' gpkg_bbox(g, 'bbox')
#' }
gpkg_bbox <- function(x, table_name, geom_column = "geom") {
as.data.frame(gpkg_ogr_query(x, paste0(gsub("geom", geom_column,
as.data.frame(gpkg_ogr_query(x, paste(gsub("geom", geom_column,
"SELECT
ST_MinX(geom) AS xmin,
ST_MinY(geom) AS ymin,
ST_MaxX(geom) AS xmax,
ST_MaxY(geom) AS ymax
FROM ", table_name))))
FROM"), table_name)))
}

0 comments on commit cc32bc6

Please sign in to comment.