mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
[taginfo] update for CoMaps
Signed-off-by: Bastian Greshake Tzovaras <bgreshake@googlemail.com>
This commit is contained in:
committed by
x7z4w
parent
7915b85f58
commit
dc20e576f7
3258
data/taginfo.json
Normal file
3258
data/taginfo.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -7,16 +7,16 @@ SCRIPT_DIR: Path = Path(__file__).parent.resolve()
|
|||||||
MAPCSS_FILE: Path = SCRIPT_DIR / "../../data/styles/default/include/Icons.mapcss"
|
MAPCSS_FILE: Path = SCRIPT_DIR / "../../data/styles/default/include/Icons.mapcss"
|
||||||
TAGINFO_FILE: Path = SCRIPT_DIR / "../../data/taginfo.json"
|
TAGINFO_FILE: Path = SCRIPT_DIR / "../../data/taginfo.json"
|
||||||
|
|
||||||
BASE_ICON_URL: str = "https://raw.githubusercontent.com/organicmaps/organicmaps/master/data/styles/default/light/symbols/"
|
BASE_ICON_URL: str = "https://codeberg.org/comaps/comaps/raw/branch/main/data/styles/default/light/symbols/"
|
||||||
|
|
||||||
PROJECT_INFO: dict[str, str] = {
|
PROJECT_INFO: dict[str, str] = {
|
||||||
"name": "Organic Maps",
|
"name": "CoMaps",
|
||||||
"description": "Free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists",
|
"description": "CoMaps is a community-focused privacy navigation iOS & Android app for travelers - drivers, hikers, and cyclists.",
|
||||||
"project_url": "https://organicmaps.app",
|
"project_url": "https://comaps.app",
|
||||||
"doc_url": "https://github.com/organicmaps/organicmaps",
|
"doc_url": "https://codeberg.org/comaps/comaps/",
|
||||||
"icon_url": "https://organicmaps.app/logos/green-on-transparent.svg",
|
"icon_url": "https://codeberg.org/comaps/comaps/media/branch/main/docs/badges/logo.svg",
|
||||||
"contact_name": "Organic Maps",
|
"contact_name": "CoMaps",
|
||||||
"contact_email": "hello@organicmaps.app"
|
"contact_email": "hello@comaps.app"
|
||||||
}
|
}
|
||||||
|
|
||||||
def parse_mapcss(text: str) -> list[dict[str, any]]:
|
def parse_mapcss(text: str) -> list[dict[str, any]]:
|
||||||
@@ -92,7 +92,7 @@ def main() -> None:
|
|||||||
|
|
||||||
data: dict[str, any] = {
|
data: dict[str, any] = {
|
||||||
"data_format": 1,
|
"data_format": 1,
|
||||||
"data_url": "https://raw.githubusercontent.com/organicmaps/organicmaps/master/data/taginfo.json",
|
"data_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/taginfo.json",
|
||||||
"data_updated": datetime.now(timezone.utc).strftime("%Y%m%dT%H%M%SZ"),
|
"data_updated": datetime.now(timezone.utc).strftime("%Y%m%dT%H%M%SZ"),
|
||||||
"project": PROJECT_INFO,
|
"project": PROJECT_INFO,
|
||||||
"tags": tags
|
"tags": tags
|
||||||
|
|||||||
Reference in New Issue
Block a user