fixed bug in the automatic selection of number of dask chunks in enclosed tessellation
fixed infinity issue in StreetProfile (#249)
StreetProfile
fixed issue changing the original dataframe in DistanceBand (#250)
DistanceBand
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.
network_false_nodes
remove_false_nodes
Enhancements:
New performant algorithm remove_false_nodes to remove nodes of a degree 2 of a LineString network. (#204)
Faster CircularCompactness (#205)
CircularCompactness
pygeos-based Tessellation (#207)
Tessellation
New class Percentiles (#209)
Percentiles
Various speedups (#209)
New enclosures function (#211)
enclosures
Enclosed tessellation option in Tessellation (#212)
Preprocessing module (#214)
Preprocessing function to close_gaps of LineString geoemtry (#215)
close_gaps
Preprocessing function to extend_lines (#217)
extend_lines
ratio-based network links (#218)
vectorize StreetProfile (#219)
capture MutliLineString in Linearity (#236)
Linearity
support MultiPolygons (#234)
handle NaNs in limit_range (#235)
limit_range
SharedWalls length (#238)
SharedWalls
refactor Blocks using overlay and libpysal (#237)
Blocks
more options in converting to networkx graphs in gdf_to_nx (#240)
gdf_to_nx
use mapclassify.classify in Simpson and Shannon (#241)
Simpson
Shannon
Bug fixes:
fix nearest neighbor in get_network_ratio (#224)
get_network_ratio
Tessellation error when geom collapsed (#226)
Blocks empty difference (#230)
Convexeity is now Convexity (#171)
Convexeity
Convexity
local_ centrality (betweenness, closeness, straightness) has been included in respective global versions (#178)
local_
New features:
CheckTessellationInput to check building footprint data for potential issues during Tessellation (#163)
CheckTessellationInput
On demand DistanceBand spatial weights (neighbors) for larger weight which would not fit in memory (#165)
New documentation (#167)
Support network analysis for full network (#176)
Options for preprocess (#180)
preprocess
Expose underlying simpson and shannon functions (#183)
simpson
shannon
MeanInterbuildingDistance performance (#187)
MeanInterbuildingDistance
StreetProfile performance refactor (#186)
Retain attributes in network_false_nodes (#189)
Performance improvements in elements module (#190)
elements
Performance refactor of SharedWallsRatio (#191)
SharedWallsRatio
Performance refactor of NeighboringStreetOrientationDeviation (#192)
NeighboringStreetOrientationDeviation
Minor performance improvements (#193, #196)
Allow specification of verbosity (#195)
Perfomance enhancements in sw_high (#198)
sw_high
Density TypeError for islands (#164)
Density
Preserve CRS in network_false_nodes (#181)
Fixed Squareness for non-Polygon geom types (#182)
Squareness
CRS lost with older geopandas (#188)
fixed regression causing MeanInterbuildingDistance failure (#161)
AverageCharacter allows calculation of multiple modes (mean, median, mode) at the same time. Each can be accessed via its own attribute. Apart from mean, none is accessible using .series anymore. (#147)
AverageCharacter
mean
.series
Shannon index (#158)
Simpson allows Gini-Simpson and Inverse Simpson index modes (#157)
Diversity classes support categorical values (#159)
SegmentsLength allows sum and mean at the same time (#146)
SegmentsLength
AverageCharacter allows calculation of multiple modes (mean, median, mode) at the same time (#147)
Better compatibility with OSMnx Graphs (#149)
Orientation support LineString geometry (#156)
Orientation
AreaRatio for uneven number of features (#135)
AreaRatio
Performance improvements (#144, #145, #152, #155)
float precision errors in network_false_nodes (#133)
network_false_nodes for multiindex (#136)
BlocksCount no neighbors error (#139, #140)
BlocksCount
LineString Z support in nx_to_gdf (#148)
nx_to_gdf
accidental ‘rtd’ print (#150)
CentroidCorner may fail for Polygon Z (#151)
CentroidCorner
Small bug-fix release:
fix for AreaRatio resetting index of resulting Series (#127)
fix for network_false_nodes to work with GeoSeries (#128)
fix for incomplete spatial_weights and missing neighbors. Instead of raising KeyError momepy now returns np.nan for affected row. np.nan is also returned if there are no neighbors (instead of 0). (#131)