Skip to content

Releases: kraina-ai/quackosm

0.11.1

09 Oct 07:47
beb7e67
Compare
Choose a tag to compare

Added

  • Option to export to DuckDB database #94 (implemented by @mwip)

0.11.0

24 Sep 22:18
5ca9558
Compare
Choose a tag to compare

Changed

  • Bumped minimal DuckDB version to 1.1.0
  • Refactored geoparquet operations for compatibility with new DuckDB version
  • Excluded conftest.py file from the final library build
  • Replaced unary_union calls with union_all() on all GeoDataFrames
  • Silenced pooch library warnings regarding empty SHA hash

0.10.0

23 Sep 23:27
fea4cfd
Compare
Choose a tag to compare

Changed

  • BREAKING Changed required minimal number of points in polygon from 3 to 4
  • Added removal of repeated points in linestrings

Fixed

  • Removed support for yanked polars version 1.7.0

0.9.4

11 Sep 19:08
3dedd2f
Compare
Choose a tag to compare

Changed

  • Excluded DuckDB 1.1.0 version from dependencies

0.9.3

10 Sep 22:48
a539aa8
Compare
Choose a tag to compare

Removed

  • geoarrow-rust-core from dependencies

0.9.2

29 Aug 10:42
05bd663
Compare
Choose a tag to compare

Changed

  • Removed pyarrow-ops dependency and replaced it with simpler implementation
  • Removed srai dependency from tests
  • Set minimal numpy version

0.9.1

28 Aug 15:56
fb40733
Compare
Choose a tag to compare

Fix

  • Changed geopy dependency to required, to fix missing import for quackosm.geocode_to_geometry function

0.9.0

12 Aug 21:54
5f18902
Compare
Choose a tag to compare

Added

  • Functions convert_osm_extract_to_parquet and convert_osm_extract_to_geodataframe with option to search and download OSM extracts by text query #119
  • Function for downloading an OSM extract PBF file using a text query (quackosm.osm_extracts.download_extract_by_query)
  • Function for displaying available OSM extracts from multiple sources (quackosm.osm_extracts.display_available_extracts and --show-extracts / --show-osm-extracts in cli) in the form of a tree
  • New parameter geometry_coverage_iou_threshold (and --iou-threshold in cli) to enable configuration of the Intersection over Union metric value sensitivity for covering the geometry with OSM extracts
  • Two new notebook examples for documentation purposes - basic usage and OSM extracts deep dive
  • Improved tests configuration by downloading precalculated extracts indexes from a dedicated repository

Changed

  • Refactored searching OSM extracts for a given geometry filter to utilize Intersection over Union metric #110 #115
  • Moved multiple modules imports inside certain functions to speed up CLI responsiveness
  • Replaced default Geofabrik OSM extract download source with any to include all available resources
  • Refactored OSM extracts sources cache files to calculate area in kilometers squared and added parent and file_name fields

Deprecated

  • Function find_smallest_containing_extract from quackosm.osm_extracts have been deprecated in favor of find_smallest_containing_extracts

0.8.3

26 Jul 02:06
7855b18
Compare
Choose a tag to compare

Changed

  • Replaced OSMnx dependency with GeoPy for geometry geocoding #135

0.8.2

04 Jun 20:54
09cd612
Compare
Choose a tag to compare

Added

  • geoarrow-rust-core library to the main dependencies
  • Test for hashing geometry filter with mixed order
  • Test for parquet multiprocessing logic
  • Test for new intersection step
  • Option to pass URL directly as PBF path #114
  • Dedicated MultiprocessingRuntimeError for multiprocessing errors

Changed

  • Added new internal parquet dataset processing logic using multiprocessing
  • Refactored nodes intersection step from ST_Intersects in DuckDB to Shapely's STRtree #112
  • PbfFileReader's internal geometry_filter is additionally clipped by PBF extract geometry to speed up intersections #116
  • OsmTagsFilter and GroupedOsmTagsFilter type from dict to Mapping to make it covariant
  • Tqdm's disable parameter for non-TTY environments from None to False
  • Refactored final GeoParquet file saving logic to greatly reduce memory usage
  • Bumped minimal pyarrow version to 16.0
  • Default multiprocessing.Pool initialization mode from fork to spawn