Skip to content

Releases: GIScience/ohsome-py

v0.3.1

21 Feb 12:32
37c23cf
Compare
Choose a tag to compare

0.3.1

Fixed

  • prevent an exception if the log_dir for the OhsomeClient was set to None
  • removed time-dependency of unit tests that would cause them to fail at any time after the cassettes were recorded

Changed

  • relaxed dependency requirement for urllib3 to >=2.0.2 to prevent ohsome-py from becoming a 'diamond-dependency'
  • improved and sped up testing (first steps towards #139)
  • move metadata property from singleton to chached_property

v0.3.0

06 Dec 08:34
289f4c5
Compare
Choose a tag to compare

0.3.0

Added

  • support for python 3.12
  • custom retry configuration
  • start and end timestamp meta information of the client are now datetime objects
  • accept shapely Polygon and MultiPolygon for bpolys input parameter
  • if a request fails a bash script containing the respective curl command is logged (if possible). This allows for easier debugging and sharing of failed requests.
  • timestamps are converted without timezone information. Deviates from Ohsome API GIScience/ohsome-api#318

Changed

  • breaking: geodataframes now contain a @other_tags colum containing all OSM tags. This behaviour can be adapted using the explode_tags parameter that allows to specify tags that should be in a separate column or to disable the feature completely. The latter will result in a potentially wide but sparse data frame.

Removed

  • support for python < 3.10
  • support for geopandas < 0.14
  • support for pandas < 2.1
  • support for urllib3 < 2.1

v0.2.0

08 Mar 16:00
Compare
Choose a tag to compare

Added

  • support for python 3.11
  • support for geopandas up to v0.12.0

Removed

  • support for python 3.7

Fixed

  • wrong formatting of list parameters for ohsome requests if not given as string

v0.1.1

15 Sep 18:57
Compare
Choose a tag to compare

v0.1.1rc1

22 Apr 11:57
Compare
Choose a tag to compare
v0.1.1rc1 Pre-release
Pre-release
  • Updated dependencies
  • Set geopandas version to ^0.10.0
  • Removed support for Python 3.6
  • Checks log files individually in logging tests

v0.1.0

08 Apr 15:42
88ee2bc
Compare
Choose a tag to compare
  • Fixed encoding when writing response to json
  • Handles exception when invalid ohsome API URL is given
  • Handle responses with no features without geopandas warning
  • Updated notebook
  • Added urllib3 to dependencies

v0.1.0rc2

15 Oct 13:22
Compare
Choose a tag to compare
v0.1.0rc2 Pre-release
Pre-release
  • Set user agent specific for the client
  • Supports ndarrays as input parameters
  • Bug fixes

v0.1.0rc1

09 Jun 11:51
b405c74
Compare
Choose a tag to compare
v0.1.0rc1 Pre-release
Pre-release
  • Improved error handling of invalid json responses
  • Fix endpoint url construction
  • Improved logging (removed error code from log file name, log raw response)
  • Edit dependencies and install instructions

v0.1.0rc

01 Apr 14:09
ff34895
Compare
Choose a tag to compare
v0.1.0rc Pre-release
Pre-release

ohsome-py version 0.1.0rc