mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
python: string repr for entries
This commit is contained in:
@@ -12,6 +12,9 @@ class Entry:
|
|||||||
self.length = length
|
self.length = length
|
||||||
self.run_length = run_length
|
self.run_length = run_length
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return f"id={self.tile_id} offset={self.offset} length={self.length} runlength={self.run_length}"
|
||||||
|
|
||||||
|
|
||||||
def rotate(n, xy, rx, ry):
|
def rotate(n, xy, rx, ry):
|
||||||
if ry == 0:
|
if ry == 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user