You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
validate_crs() is used to create a spatialReference json object. However this can be called many levels deep inside of a function and the context may get lost.
Describe the solution you'd like
It would be useful to introduce error_call argument to allow us to pass in the caller environment in the case that validation fails.
Additional context
Additionally validate_crs() creates a list with one element "spatialReference" in most cases we subset directly into this element making the first element superfluous. It may make sense to adjust the function to to not contain this. Note that it would require adjusting all calls to this function.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
validate_crs()
is used to create aspatialReference
json object. However this can be called many levels deep inside of a function and the context may get lost.Describe the solution you'd like
It would be useful to introduce
error_call
argument to allow us to pass in the caller environment in the case that validation fails.Additional context
Additionally
validate_crs()
creates a list with one element"spatialReference"
in most cases we subset directly into this element making the first element superfluous. It may make sense to adjust the function to to not contain this. Note that it would require adjusting all calls to this function.The text was updated successfully, but these errors were encountered: