Skip to content
forked from mapsme/kothic

Original kothic mapcss renderer and stylesheet parser

Notifications You must be signed in to change notification settings

organicmaps/kothic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kothic Mapcss parser/processor tailored for Organic Maps use.

Dependencies:

  • Python >= 3.8

Python dependencies:

pip3 install -r requirements.txt

Running unittests

To run all unittests execute next command from project root folder:

python3 -m unittest discover -s tests

this will search for all test*.py files within tests directory and execute tests from those files.

Running integration tests

File integration-tests/full_drules_gen.py is intended to generate drules files for all 6 themes from main Organic Maps repo. It could be used to understand which parts of the project are actually used by Organic Maps repo.

Usage:

cd integration-tests
python3 full_drules_gen.py -d ../../../data -o drules --txt

This command will run generation for styles - default light, default dark, outdoors light, outdoors dark, vehicle light, vehicle dark and put *.bin and *.txt files into 'drules' subfolder.

About

Original kothic mapcss renderer and stylesheet parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%