Skip to content

maxcollombin/CartoSymTranscoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CartoSymTranscoder

This repository contains the code elements required for lossless transcoding between the *.cscss and other encodings associated with the OGC Style & Symbology Conceptual Model standard into various other encodings.

Development is currently limited to *.cscss and SLD.

Usage

To parse a .cscss file, use the following command:

python3 antlr/scr/CartoSymParser.py input/<input_file> [--log-level <level>]

Log Levels

The --log-level option allows you to specify the verbosity of the logging output. The available log levels are:

  • DEBUG: Provides detailed debugging information.
  • INFO: Displays general information about the process.
  • WARNING: Shows warnings that do not stop the execution.
  • ERROR: Reports errors that may affect the process.
  • CRITICAL: Logs critical issues that require immediate attention.

For example, to parse a file with INFO level logging:

python3 antlr/scr/CartoSymParser.py input/example.cscss --log-level INFO

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published