mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-06 10:09:52 +02:00
Issue #47: add documentation.
This commit is contained in:
parent
20d753fb9f
commit
55a4b83dae
1 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
"""
|
||||||
|
Tile generation.
|
||||||
|
|
||||||
|
See https://wiki.openstreetmap.org/wiki/Tiles
|
||||||
|
"""
|
||||||
import argparse
|
import argparse
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
@ -19,6 +24,11 @@ from roentgen.util import MinMax
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Tile:
|
class Tile:
|
||||||
|
"""
|
||||||
|
OpenStreetMap tile, square bitmap graphics displayed in a grid arrangement
|
||||||
|
to show a map.
|
||||||
|
"""
|
||||||
|
|
||||||
x: int
|
x: int
|
||||||
y: int
|
y: int
|
||||||
scale: int
|
scale: int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue