Skip to content

reader_circle with query bigger than the dataset #147

@Jean-Romain

Description

@Jean-Romain

Here we are expecting to get the entire tile. We instead get a circle the size of the tile. This is because the query is clipped to dimension of the file collection. @eikeschott #141

library(lasR)
file <- c(system.file("extdata", "Megaplot.las", package="lasR"))

read_small <- reader_circles(xc = 684876.6, yc = 5017902, r = 8000)
chm <- lasR::chm(res = 1)

ans <- lasR::exec(read_small + chm, on = file)

h = lidR::readLASheader(file)
lidR::plot(h);  terra::plot(ans, add = T)

Created on 2025-06-04 with reprex v2.1.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions