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
The ElevationProvider interface carries methods which only make sense for certain implementations. We should move all methods except for getEle(double, double) into a fitting abstract baseclass for file/tile based providers.
Yes. We might need to keep void release() as well. Maybe canInterpolate instead of isInterpolating? And regarding the other setters I wonder why they even should be setters, they could just be constructor parameters. Anyway the most important part is cleaning up the interface.
Activity
otbutz commentedon Jul 27, 2021
Based on @easbar draft in #2373 (comment)
easbar commentedon Jul 27, 2021
Yes. We might need to keep
void release()as well. MaybecanInterpolateinstead ofisInterpolating? And regarding the other setters I wonder why they even should be setters, they could just be constructor parameters. Anyway the most important part is cleaning up the interface.otbutz commentedon Jul 27, 2021
I'd rather replace
release()with extending theAutoCloseableinterface.easbar commentedon Jul 27, 2021
Ok, but maybe this is something for another issue, because we do not do this for our other resources (DataAccess etc.) yet either.