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

Restructure abstract base classes Positionable and Bounded #213

Closed
navispatial opened this issue Oct 9, 2023 · 1 comment
Closed

Restructure abstract base classes Positionable and Bounded #213

navispatial opened this issue Oct 9, 2023 · 1 comment
Labels
enhancement New feature or request 🌐 geobase Related to the code package "geobase" refactoring

Comments

@navispatial
Copy link
Member

Restructure abstract base classes Positionable and Bounded. Add also a new abstract base class ValuePositionable.

The aim is to make class APIs more consistent with as minor changes to concrete subtypes as possible.

After the change inheritance tree would be something like this:

  • Positionable
  • ValuePositionable extends Positionable
  • Bounded extends Positionable
  • Position extends ValuePositionable
  • Box extends ValuePositionable
  • PositionSeries extends ValuePositionable, Bounded
  • Geometry extends Bounded
  • FeatureObject extends Bounded
@navispatial navispatial added enhancement New feature or request refactoring 🌐 geobase Related to the code package "geobase" labels Oct 9, 2023
navispatial added a commit that referenced this issue Oct 15, 2023
navispatial added a commit that referenced this issue Oct 15, 2023
…ed, then bounds is not recalculated by default #213
navispatial added a commit that referenced this issue Oct 15, 2023
navispatial added a commit that referenced this issue Oct 15, 2023
navispatial added a commit that referenced this issue Oct 22, 2023
@navispatial
Copy link
Member Author

Implemented in geobase 1.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🌐 geobase Related to the code package "geobase" refactoring
Projects
None yet
Development

No branches or pull requests

1 participant