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

Need a spherical bounds equivalent to PlanarBounds #5

Open
robertkleffner opened this issue Jan 18, 2024 · 0 comments
Open

Need a spherical bounds equivalent to PlanarBounds #5

robertkleffner opened this issue Jan 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@robertkleffner
Copy link
Contributor

Right now each projection describes a range of x,y values that are valid for inverse projection into the spherical space.

Most projections have the same valid projection domain: the whole sphere. However, special case projections like Gnomonic and some conical projections are only valid for a subset of the sphere. And many whole sphere projections have odd behaviors or diverge at certain limits points, such as the poles or the prime meridian.

Consider adding a SphericalBounds method to describe the inputs, or at least a IsValid(lat,lon) type method which we can use to help filter tests and provide a better way to document these cases to end users.

@robertkleffner robertkleffner added the enhancement New feature or request label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant