Skip to content

Releases: hotosm/fmtm-splitter

v0.2.0

04 Dec 13:49
Compare
Choose a tag to compare

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.

Initial release

25 Oct 09:40
Compare
Choose a tag to compare
0.1.0

docs: set wiki to redirect to docs page