Skip to content

Releases: hotosm/fmtm-splitter

v1.3.2

14 Oct 17:51
Compare
Choose a tag to compare

What's Changed

  • Remove mandatory osm_extracts param from split by square by @Sujanadh in #55

Full Changelog: 1.3.1...1.3.2

v1.3.1

21 Sep 23:43
Compare
Choose a tag to compare

What's Changed

  • If --extract is used, it needs to be passed to split_by_square() by @rsavoye in #47
  • Merge polygons with no features with neighboring polygons by @Sujanadh in #53

Full Changelog: 1.3.0...1.3.1

v1.3.0

12 Jul 08:57
Compare
Choose a tag to compare

What's Changed

  • Check the lines count excluding minor highway tags by @Sujanadh in #40
  • Added data extracts to avoid creating tasks with no features by @Sujanadh in #41

Full Changelog: 1.2.2...1.3.0

1.2.2

05 Jun 08:57
Compare
Choose a tag to compare

What's Changed

  • Updated algorithm to split aoi when no linear features by @Sujanadh in #31
  • Also only split by major highways, no minor roads.

Full Changelog: 1.2.1...1.2.2

v1.2.1

21 Mar 08:18
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.0...1.2.1

v1.2.0

08 Mar 01:11
Compare
Choose a tag to compare

What's Changed

  • Refactor out geopandas in favour of shapely by @spwoodcock in #25
  • Better handling of FeatureCollection multiple geometry input (no convex_hull, instead splits per specific area, then merges the output together).

Full Changelog: 1.1.2...1.2.0

v1.1.2

15 Feb 09:52
Compare
Choose a tag to compare

Fixes related to data extract generation:

  • Add missing railway and aeroway tag filtering.
  • Add useStWithin=false to raw-data-api queries for polylines.
  • Use YAML format config for query generation.

Data extract generation should now work as intended.

Full Changelog: 1.1.1...1.1.2

v1.1.1

11 Feb 18:16
Compare
Choose a tag to compare
  • Improved parsing of AOI boundary strings.
  • Option to not include data extract in split_by_sql:
    • The data extract is generated automatically by the osm-rawdata module.
    • If a data extract is passed, splitting is attempted using the custom extract.

v1.1.0

08 Feb 17:41
Compare
Choose a tag to compare
  • Added support for parsing AOIs with multiple geometries.

v1.0.0

30 Jan 10:55
Compare
Choose a tag to compare

As v1.0.0rc0

Additions:

  • Now accepts SQLAlchemy Session objects, in addition to psycopg2 connection or db connection string.
    # Previously
    sqlalchemy_session = SessionLocal()
    psycopg2_connection = sqlalchemy_session.connection()
    split_by_sql(psycopg2_connection, ...)
    
    # Now just pass the sqlalchemy session directly
    sqlalchemy_session = SessionLocal()
    split_by_sql(sqlalchemy_session, ...)
  • Suppressed noisy geopandas warnings.