Changelog

Changelog#

1.4#

1.3#

1.2#

1.1#

1.0.2#

1.0.1#

1.0.0#

  • New features:

    1. Exposed three new functions used inside the network enrichment functions:

      • is_roundabout

      • is_branching_crossroad

      • is_dual_carriageway

  • Improvements:

    1. All undocumented/unwanted functions are now hidden.

    2. Removed all circular import inside the library.

    3. Renamed Constraint to LeastSquaresMethod to better reflect if usage and enhanced its documentation.

1.0rc2#

  • New features:

    1. Added li_openshaw to simplify lines. (jberli)

    2. Added square_polygon_naive to square polygons. (jberli)

    3. Added heatmap creation. #8 (gowestmen)

    4. New covering algorithms to create convex and concave hull:

    5. Added reduce_labelgrid function as a new point reduction method. #3 #6 (Vpech77) #9 (gowestmen)

    6. Added tessellate to create a tesselation of a given shape. This method has been taken from #3 #6 (Vpech77) and wrapped inside a new function.

    7. Added partition_grid to partition objects using the new tessellations.

    8. Added strokes_roads (ACourtial) function to detect strokes inside a road network. This allows an easy strokes calculation by reducing the number of steps.

  • Improvements:

    1. Renamed point reduction functions:

      • reduce_points_kmeans to reduce_kmeans.

      • reduce_points_quadtree to reduce_quadtree.

    2. Every point reduction method, namely reduce_kmeans, reduce_quadtree and reduce_labelgrid now takes GeoDataFrame as input and have the same modes available (selection, simplification and aggregation).

    3. gaussian_smoothing can now treat polygons.

    4. AGENT rectangle transformation now depends on the minimum rotated rectangle that shares at least one edge with the original rectangle. This allows the resulting rectangle to be more aligned with the original building.

  • Bug fixes:

    1. Fixed the morphological_amalgamation issues function caused by:

      • The __edge_removal function. The function was reworked.

      • The straight_line_intersection method of the Segment class crashed because of the use of the deprecated numpy array method itemset.

      • The Vector2D.from_segment method which was fixed.

    2. Fixed bugs in the network enrichment functions:

      They now return an empty GeoDataFrame if no entity was detected.

    3. Fixed a bug in PointSetQuadTree where negative coordinates could cause problems.

1.0rc1#

The first official beta pre-release of CartAGen.