The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Changes for the upcoming release can be found in the changelog.d directory in this repository. Do NOT add changelog entries here! This changelog is managed by towncrier and is compiled at release time.
- Adding predicate as a named parameter in str_tree.query (#47)
- Convert the centerline within check to use Shapely STRTrees (#44)
- Restore Python 3.7+ support and update metadata. (#39)
- Add support for Shapely 2 (#30)
- The Centerline class will no longer extend the Shapely's MultiLineString because Centerline sets custom attributes which will be prohibited starting from Shapely 2.0. You can use centerline.geometry instead of centerline wherever you need access to the object's geometry.
- Drop Python 2.7 support (#30)
- Fix shapely 2 deprecation warning for iterating multipolygons (#34)
No significant changes.
- Update the CI deploy stage. (#26)
- Run the test suite against Python 3.8. (#25)
- Replace argparse with Click. This should improve Windows support of the
create_centerline
command-line script. (#23)
- Convert the package to the src/ layout and the tests to pytest. The modules have been renamed, and the
Centerline
class has been refactored to enable overrides. (#23)
- Package versioning that caused a broken upload
- Set the minimum
GDAL
version to 2.3.3
- Drop the
path
keyword argument fromfiona.open
calls #20.
- Python 3.5 support
MultiPolygon
support
GDAL
2.3.1 to the CI configuration
- Moved the
coverage
configuration tosetup.cfg
- Moved the package's metadata to
setup.cfg
- MANIFEST.in
Centerline
from thecenterline
namespace. To import theCenterline
- class, use
from centerline.main import Centerline
- Ignore the
osgeo
package when building the documentation on readthedocs.org.
- Sphinx documentation
- Add a comma to the list of development requirements
pylama
andisort
configurationpylama
andisort
checks in the Travis buildutils
andio
modulescreate_centerlines
script and function for creating centerlines that is format agnotic. All OGR vector file formats should be supported.
- The
Centerline
class extends Shapely'sMultiLineString
class - Replaced the
shp2centerline
script withcreate_centerlines
- Support for
GDAL<2.0
- Support for
Fiona<1.7
shp2centerline
script
- Read the
README.rst
fromsetup.py
CHANGELOG.md
.coveragerc
- Travis CI configuration
- Test and package configuration in
setup.cfg
- Use
pytest
for test execution - Test the import of the
Centerline
class
MANIFEST.in
.gitignore
- Reorganize the project's requirements (both in
*.txt
files andsetup.py
) - Fix PEP8 errors in
setup.py
- Convert README from MarkDown to ReStructuredText
- The
Centerline
class - The logic for calculating the centerline of a polygon
- The
shp2centerline
command for converting polygons from a Shapefile into centerlines and saving them into another Shapefile