Releases: benchmark-urbanism/cityseer-api
Fixes jitter
Minor release with package bumps, minor fixes and tweaks, and fixes for jitter parameter.
Chains primal node and edge ids to dual
Chains through primal node and edge id information to dual graphs and derivative node / edge GDFs.
This helps when merging primal edges into dual node data frames for visualisation purposes.
Catches if both None for pairing distances and betas
Catches if both None for pairing distances and betas.
Releases v4 - moves from Numba to Rust
Cityseer's underlying internals have been reimplemented in rust, therefore removing the reliance on Numba
.
This offers several improvements:
- Better performance
- Unlike
Numba
there is no need for the underlying code to compile on first run - Fewer issues related to
Numba
release cycles, which tended to lag official Python releases and sometimes introduced unexpected behaviour. Numba
forced some difficult design patterns due to not being able to useNumba
classes for parallelised code, and otherwise a reliance on numpy arrays which had to be passed around from function to function. The rust version offers more elegant approaches to handling and sharing data structures.
The higher level API is similar, though in has been simplified in several situations. Please see the API docs for more information.
Fixes typo in plotting function
Fixes param typo in plotting function.
maintenance release
Maintenance release with package bumps.
Shapely v2
Updates code to work with shapely
v2.
- Updates rtree syntax to work with the
shapely
v2 API. - Adds a workaround for
shapely
ops.substring
which currently raises an error for LineStrings with Z coordinates. - Updates packages and minimum version requirements accordingly.
Allows usage of negative coordinates
Fixes an issue (#65) where negative coordinates would raise an error.
Maintenance release
Maintenance release with no intended changes to the API.
Deduplication and spatial tolerances
- Splits
compute_landuses()
function into separatecompute_accessibilities()
andcompute_mixed_uses()
functions. - Adds deduplication to
compute_accessibilities()
andcompute_stats()
. This works through the newdata_id_col
parameter which, if set, ensures that only the first (nearest) datapoint location is considered. This is intended for situations where multiple data points represent a common feature (e.g. entrances to a building or a park). - Exposes OSM API timeout parameter.
- Adds a
spatial_tolerance
parameter tocompute_accessibilities()
andcompute_mixed_uses()
functions. This flattens the spatial impedance curves used for data aggregation within the tolerance specified and is intended for situations where datapoints are located with a margin of imprecision. Seemetrics.networks.distance_from_beta
for more information.