Skip to content

v0.2.0

Compare
Choose a tag to compare
@spwoodcock spwoodcock released this 04 Dec 13:49
· 191 commits to main since this release

Significant refactoring, adding helper functions for the three splitting types, for more flexible usage.
The code can be used via the FMTMSplitter class, the wrapper functions, or command line.

Updates:

  • DB session handling, uses existing session passed through, or a single new session.
  • DB url is configurable.
  • Added the database models to this repo. I made it so that the tables are created by this repo, splitting done, then tables deleted again.
  • Init the AOI as a geodataframe within the class init (puts the validation in one place).
  • More flexible input types, particularly for geojson (can be geojson string, FeatureCollection type, or a geojson file on the filesystem).
  • Testing for all split types.