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

Are min and max lat/lon when loading a raster pixel edges or centers? #6780

Closed
mattwigway opened this issue Feb 1, 2024 · 1 comment
Closed

Comments

@mattwigway
Copy link
Contributor

I'm using raster elevation data, converted to an Arc/INFO ASCII grid with the header stripped as described in the documentation. My question though is about the interpretation of minimum and maximum latitude and longitude. I've been just putting in the extents reported by GIS for these, but I think this may actually be wrong—as the extents reported by GIS are based on the edges of the pixels, but based on looking at the interpolation code (in raster_source.cpp) I think OSRM wants the minimum and maximum lat/lon of the centers of the pixels. Am I on the right track here?

image
Copy link

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Jul 31, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant