- fix grid warning
- add more pre-commit hooks
- make fit for Shapely 2.0
- replace setuptools with hatch
- remove conda build files
- tilematrix-feedstock conda-forge feedstock repository for releasing new versions on conda-forge
- fix conda & pip builds
- test also for python 3.9
- renaming master branch to main
- add
conda
publish to github actions (workflows)
- add option to exactly get intersection tiles using TilePyramid.tiles_from_geom(exact=True)
- enable yielding tiles in batches by either row or column for following methods:
- TilePyramid.tiles_from_bounds()
- TilePyramid.tiles_from_bbox()
- TilePyramid.tiles_from_geom()
- convert TilePyramid arguments into keyword arguments
- allow metatiling up to 512
- use GitHub actions instead of travis
- use black and flake8 pre-commit checks
- fixed pixel size calculation on irregular grids with metatiling (closing #33)
TilePyramid.tile_x_size()
,TilePyramid.tile_y_size()
,TilePyramid.tile_height()
,TilePyramid.tile_width()
are deprecated- metatiles are clipped to
TilePyramid.bounds
butpixelbuffer
of edge tiles can exceed them unless it is a global grid
- Python 2 not supported anymore
TilePyramid.srid
andTilePyramid.type
are deprecatedGridDefinition
can now be loaded from package rootGridDefinition
gotto_dict()
andfrom_dict()
methods
- order of
Tile.shape
swapped to(height, width)
in order to match rasterio array interpretation
- make
Tile
iterable to enabletuple(Tile)
return the tile index as tuple
- make
Tile
objects hashable & comparable
- add
snap_bounds()
function - add
snap_bounds
command totmx
- add
snap_bbox
command totmx
- in
tile_from_xy()
addon_edge_use
option specify behavior when point hits grid edges - cleaned up
_tiles_from_cleaned_bounds()
andtile_from_xy()
functions
- attempt to fix
tmx
command when installing tilematrix via pip
- add
tmx
CLI with subcommands:- `bounds`: Print bounds of given Tile.
- `bbox`: Print bounding box geometry of given Tile.
- `tile`: Print Tile covering given point.
- `tiles`: Print Tiles covering given bounds.
- fixed
tiles_from_geom()
bug when passing on a Point (#19) - add
tile_from_xy()
function
- added better string representations for
Tile
andTilePyramid
- added
GridDefinition
to better handle custom grid parameters TilePyramid
instances are now comparable by==
and!=
- custom grid defnitions enabled
---0.10 ---* new tag for last version to fix Python 3 build
- added Python 3 support
- use NamedTuple for Tile index
intersecting
function fixed (rounding error caused return of wrong tiles)
- converted tuples for bounds and shape attributes to namedtuples
- added
pytest
and test cases - fixed metatiling shape error on low zoom levels
- split up code into internal modules
- travis CI and coveralls.io integration
intersection()
doesn't return invalid tiles.- Moved copyright to EOX IT Services
- Decision to remove
MetaTilePyramid
class (now returns aDeprecationWarning
). - TilePyramid now has its own
metatiling
parameter. intersecting()
function forTile
andTilePyramid
to relate betweenTilePyramids
with differentmetatiling
settings.
- fixed duplicate tile return in tiles_from_bounds()
- rasterio's CRS() class replaced CRS dict
- introduced handling of antimeridian:
get_neighbor()
also gets tiles from other side.shape()
returns clipped tile shape- added
tiles_from_bounds()
- added
clip_geometry_to_srs_bounds()
- added Spherical Mercator support
- removed IO module (moved to mapchete)
- removed deprecated
OutputFormats
- introduced
get_parent()
andget_children()
functions forTile
- introduced
Tile
object - read_raster_window() is now a generator which returns only a numpy array
- read_vector_window() is a generator which returns a GeoJSON-like object with a geometry clipped to tile boundaries
- proper error handling (removed
sys.exit(0)
)
- rewrote io module
- separated and enhanced OutputFormats
- fixed wrong link to github repository
- basic functionality