Skip to content

Releases: pysal/momepy

Version v0.5.3

09 Apr 13:31
Compare
Choose a tag to compare

Minor patch release primarily fixing an issue with momepy.Blocks and a creation of angular graphs.

Fixes:

  • BUG: Fix angle computation in graph creation with dual approach (#347)
  • BUG: fix issue with blocks within another blocks (#351)

Version v0.5.2

06 Jan 11:11
Compare
Choose a tag to compare

Since version 0.5.2, momepy is licensed under the BSD-3-Clause License instead
of the MIT License, to be in line with the rest of the PySAL ecosystem.

Fixes:

  • BUG: non-default index dropped in Blocks id series (#315)
  • BUG: fix FormFactor formula (#330)

Version v0.5.1

20 Oct 10:12
Compare
Choose a tag to compare

Small patch adjusting momepy to changes geopandas 0.10.

Fixes:

  • BUG: non-default index dropped in Blocks id series
  • REF/TST: minimise warnings from geopandas 0.10

Version v0.5.0

12 Sep 14:53
Compare
Choose a tag to compare

Enhancements:

  • COINS algorithm for analysis of continuity of street networks (#248, #276)
  • ENH: distance decay in Percentiles (#269)
  • ENH: add dropna keyword to Unique (#280)
  • ENH: catch geographic CRS in Tessellation (#298)
  • ENH: support shapely polygon as enclosures limit (#299)

Bug fixes:

  • BUG/DOC: adapt to mutliindex + remove preprocess (#281)
  • BUG: Tessellation error on non-standard enclosures (#291)
  • BUG: properly clip enclosures by limit (#288)

Other:

  • DEP: remove deprecated functions and args (#268)
  • PERF: use dask.bag in Tessellation (#296)

Version v0.4.4

30 Apr 14:49
Compare
Choose a tag to compare

Small bugfix affecting nx_to_gdf and NodeDensity.

  • BUG: node ID doesn't match ID in weights (#274)

Version v0.4.3

16 Feb 22:00
Compare
Choose a tag to compare

Small bug fix:

  • BUG: UnboundLocalError: local variable 'cpu_count' referenced before assignment (#266)

Version v0.4.2

04 Feb 17:03
Compare
Choose a tag to compare

Bug fix release:

  • BUG: resolve nans in StreetProfile (#251)
  • REGR: fix slowdown in tessellation (#256)
  • BUG: avoid string "geometry" (#257)
  • PERF: move translation in Tessellation (#259)
  • REGR: use convex_hull to mitigate infinity (#260)

Version 0.4.1

12 Jan 19:43
Compare
Choose a tag to compare

Small bug fix release.

  • fixed bug in the automatic selection of number of dask chunks in enclosed tessellation
  • fixed infinity issue in StreetProfile (#249)
  • fixed issue changing the original dataframe in DistanceBand (#250)

Version 0.4.0

26 Dec 11:19
Compare
Choose a tag to compare

Requirements:

  • momepy now requires GeoPandas 0.8 or newer
  • momepy now requires pygeos
  • momepy now (optionally) requires mapclassify 2.4.2 or newer

API changes:

  • network_false_nodes is now deprecated. Use new remove_false_nodes instead.

Enhancements:

  • New performant algorithm remove_false_nodes to remove nodes of a degree 2 of a LineString network. (#204)
  • Faster CircularCompactness (#205)
  • pygeos-based Tessellation (#207)
  • New class Percentiles (#209)
  • Various speedups (#209)
  • New enclosures function (#211)
  • Enclosed tessellation option in Tessellation (#212)
  • Preprocessing module (#214)
  • Preprocessing function to close_gaps of LineString geoemtry (#215)
  • Preprocessing function to extend_lines (#217)
  • ratio-based network links (#218)
  • vectorize StreetProfile (#219)
  • capture MutliLineString in Linearity (#236)
  • support MultiPolygons (#234)
  • handle NaNs in limit_range (#235)
  • SharedWalls length (#238)
  • refactor Blocks using overlay and libpysal (#237)
  • more options in converting to networkx graphs in gdf_to_nx (#240)
  • use mapclassify.classify in Simpson and Shannon (#241)

Bug fixes:

  • fix nearest neighbor in get_network_ratio (#224)
  • Tessellation error when geom collapsed (#226)
  • Blocks empty difference (#230)

Version 0.3.0

29 Jul 10:08
Compare
Choose a tag to compare

New documentation and a lot of performance improvements.

To get the best performance, it is recommended to use geopandas>=0.8 and have pygeos installed.

API changes:

  • Convexeity is now Convexity (#171)
  • local_ centrality (betweenness, closeness, straightness) has been included in respective global versions (#178)

New features:

  • CheckTessellationInput to check building footprint data for potential issues during Tessellation (#163)
  • On demand DistanceBand spatial weights (neighbors) for larger weight which would not fit in memory (#165)

Enhancements:

  • New documentation (#167)
  • Support network analysis for full network (#176)
  • Options for preprocess (#180)
  • Expose underlying simpson and shannon functions (#183)
  • MeanInterbuildingDistance performance (#187)
  • StreetProfile performance refactor (#186)
  • Retain attributes in network_false_nodes (#189)
  • Performance improvements in elements module (#190)
  • Performance refactor of SharedWallsRatio (#191)
  • Performance refactor of NeighboringStreetOrientationDeviation (#192)
  • Minor performance improvements (#193, #196)
  • Allow specification of verbosity (#195)
  • Perfomance enhancements in sw_high (#198)

Bug fixes:

  • Density TypeError for islands (#164)
  • Preserve CRS in network_false_nodes (#181)
  • Fixed Squareness for non-Polygon geom types (#182)
  • CRS lost with older geopandas (#188)

Acknowledgements

Thanks to everyone who contributed to this release either directly or indirectly!
People with a "+" by their names contributed a patch for the first time.

Alessandra Feliciotti +
Martin Fleischmann