Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

differences between engines #22

Open
wiesehahn opened this issue Jul 27, 2023 · 1 comment
Open

differences between engines #22

wiesehahn opened this issue Jul 27, 2023 · 1 comment

Comments

@wiesehahn
Copy link

Hey,
thanks for your efford with this package.

I have a raster in epsg:3035 and want to read and crop it to a vector source in epsg:25832.

I accidently set the resolution to 0.1 as definded in the example (in degrees), however here its 0.1m. This is not what I saw that changing the engine also changes the result. While the crs seems to be the same (EPSG:3035), the dimensions are a little different and plotting the results looks strange with vapour.
With resolutions greater 1 this is not the case anymore.

ras <- ezwarp(
  x = src, y = src, res = 0.1, cutline = vec,
  crop_to_cutline = TRUE, engine = "vapour")

grafik

ras <- ezwarp(
  x = src, y = src, res = 0.1, cutline = vec,
  crop_to_cutline = TRUE, engine = "sf")

grafik

Is this expected?

@h-a-graham
Copy link
Contributor

Hey @wiesehahn really sorry for not responding to these issues you raised - for some reason I had no notifications - I'll take a look and get back to you asap. appreciate the interest - many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants