-
Notifications
You must be signed in to change notification settings - Fork 162
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
r.buildvrt.gdal: Create GDAL VRTs for GDAL linked raster maps #1209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Thanks for sharing it. I have some minor comments.
# Get native GRASS GIS format header | ||
gdal_path = Path(gs.find_file(map_name)["file"].replace("/cell/", "/cellhd/")) | ||
if gdal_path.exists(): | ||
return gdal_path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to handle that, but I did hit this issue in the past. It seems we should have API to make usage of GRASS Driver easier. Perhaps spit a GDAL-compatible path out in r.info output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind opening an issue for this?
Co-authored-by: Vaclav Petras <[email protected]> Co-authored-by: Markus Neteler <[email protected]>
The requested changes should be addressed. |
A workaround for OSGeo/grass#4345