tilematrix icon indicating copy to clipboard operation
tilematrix copied to clipboard

helps handling tile pyramids

Results 18 tilematrix issues
Sort by recently updated
recently updated
newest added

* also test on python 3.11 * increase rounding

* this enables all 120 UTM stripes over the globe in tmx

Add hexagonal grids implementation, resources for start below * https://towardsdatascience.com/uber-h3-for-data-analysis-with-python-1e54acdcc908 * https://uber.github.io/h3-py/intro.html

E.G.: ``` import geojson from tilematrix import GridDefinition, TilePyramid mollweide_bounds = (-18041000.0, -9000000.0, 18041000.0, 9000000.0) # import math # print(math.gcd(int(mollweide_bounds[2]), int(mollweide_bounds[3]))) mollweide_10m_grid = GridDefinition( grid="custom", shape=(9000, 18041), is_global=True, bounds=mollweide_bounds, srs={'wkt':...

the following test fails at zoom 15: ``` def test_snap_bounds_edge_cases(): # as zoom level increases, so increases the potential rounding errors tp = TilePyramid("geodetic") for zoom in range(18): snapped =...

bug

Tiles which intersect with a Polygon on its border get yielded although in fact they don't realy intersect (i.e. share a common area) with the geometry: https://github.com/ungarj/tilematrix/blob/master/tilematrix/_tilepyramid.py#L229 use ```python if...

in order to support non-square tiles

enhancement