Changelog

Changelog#

1.4#

  • New features:

  1. New function to generalize mountain roads combining several algorithms, based on S. Mustière’s GALBE galbe.

  2. New function to displace buildings with a simulated annealing algorithm, based on (Ware et al., 2003) displacement_buildings_simulated_annealing.

  3. New module to help developers to add cartagen algorithms into the QGIS plugin.

  4. New data enrichment function to detect area-patch structures, based on the work By S. Steiniger detect_polygon_patches_structures.

  5. New function with the introduction of the Elastic Beams from M. Bader (Univ. Zurich) to displace lines beams_displacement.

  6. The first terrain generalisation algorithms are now available in CartAGen.

  7. New functions for the propagation of transformations along a network propagation_network and propagation_crow_flies.

  8. Two new algorithms to select the important roads in a road network mesh_density_selection and street_selection.

  • Improvements:

    1. Adapt remove_flat_vertices to input all geometry types.

    2. Fixed regularize_building_regression to avoid crashes when regularizing buildings (issue #36).

    3. Fixed spinalize_polygon (issue #46).

    4. Fixed accordion (issue #38).

    5. Fixed all line simplification algorithms that were crashing when inputing multi-part geometries (issue #48).

    6. Fixed regularize_building_rectangle (and a few other functions) to input polygon with holes(issue #35).

    7. Fixed simplify_raposo to avoid crashes when inputing a geometry too small for the given output scale with Tobler=true (issue #42).

    8. Fixed simplify_whirlpool to avoid crashes when inputing a geometry too small for the given parameters (issue #41).

    9. Fixed simplify_wang_muller to avoid crashes when inputing a geometry too small for the given parameters (issue #40).

    10. Fixed simplify_li_openshaw to avoid crashes when inputing a geometry too small for the given parameters (issue #39).

    11. Fixed collapse_dual_carriageways to avoid crashes when there are three connected dual carriageways in a row.

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.