-
Notifications
You must be signed in to change notification settings - Fork 27
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
Reduce argument passing-down in the API #843
Comments
In order to maintain a backlog of relevant issues, we automatically label them as stale after 180 days of inactivity. If this issue is still important to you, then please comment on this issue and the stale label will be removed. Otherwise this issue will be automatically closed in 28 days time. |
@bjlittle do you have any opinions on this? |
@trexfeathers At the moment this isn't a high priority, but my expectation is that this will be refactored when we extend the PoC baseline capability of CRS support within There are a few other core features that I want to see introduced first. At that point I think it'll be somewhat clearer how to shape the API, then we can refactor with confidence 👍 |
Something for the future - too early while the API is still in flux
There are quite a lot of parameters that appear in MANY operations, because they are needed by something deeper in the call stack. Examples include:
radius
/zlevel
/zscale
andrtol
/atol
. This creates a lot of bloat and duplication across the public API.I think it would be good if we could come up with alternative solutions so that we can simplify the signatures of a lot of GeoVista operations. The solution will depend on the circumstance, but here are some examples:
**kwargs
, which could be documented in a single placertol
andatol
) in a named tuple of settingsThe text was updated successfully, but these errors were encountered: