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

Create geom_crs parameter to specify crs of user's geometry/clip #128

Open
NoaMillsUSDA-ARS opened this issue May 28, 2024 · 0 comments
Open

Comments

@NoaMillsUSDA-ARS
Copy link
Collaborator

Currently, the target_crs parameter serves two functions: it specifies the CRS of the output data, and in some situations, it specifies how to read the user's geometry data. If the geometry data is in the form of a geojson file or clipping coordinates, then the target_crs specifies how the coordinates are read, and if not specified can lead to errors when GCDL attempts to subset data. Instead of having the target_crs function control both the input and output CRS's, GCDL should accept two parameters, target_crs and geom_crs, where target_crs specifies the desired CRS of the output data, and geom_crs specifies the CRS of the user's geometry. This way, users can download data using clipping coordinates or a geojson file in the dataset's native CRS without needless reprojection.

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

1 participant