Commit 3418c740 authored by jml's avatar jml
Browse files

correct mistake in POLYGON

parent 3efdd531
......@@ -54,7 +54,7 @@ get_short_meta_station <- function(frostObj,stations=NULL,west=NULL,south=NULL,e
}
}
} else if ((!is.null(west)) && (!is.null(south)) && (!is.null(east)) && (!is.null(north))){
geom <- glue::glue('POLYGON(({west} {south},{west} {north},{east} {north},{west} {south}))')
geom <- glue::glue('POLYGON(({west} {south},{west} {north},{east} {north},{east} {south},{west} {south}))')
tmp <- frostObj$getSources(type="SensorSystem",geometry=geom,format='jsonld')
if(!is.null(tmp)) {
nbs <- tmp$totalItemCount
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment