How north-road/slyr works
SLYR Community is a QGIS plugin and Python toolkit for parsing ESRI binary layer/style data and converting supported vector .lyr files and .style databases into QGIS representations. The main workflow runs from a QGIS Processing user through a conversion algorithm, binary extraction/parsing, and conversion into QGIS layers or style XML; command-line utilities also inspect or export style contents. The graph includes documented converter capabilities, but sampled excerpts are incomplete, so links to unsampled subsystems are omitted unless documented or indexed.
Main entry points: style_to_xml.py Style conversion · symbols.py Symbology · lyr_to_qlr.py Layer conversion · context.py Conversion context
Components 19
QGIS Entry Points
- Plugin setup
slyr_community/plugin.py - Processing provider
slyr_community/qgis_plugin/provider.py - Style conversion
slyr_community/qgis_plugin/algorithms/style_to_xml.py - Layer conversion
slyr_community/qgis_plugin/algorithms/lyr_to_qlr.py
Binary Parsing
- Style extractor
slyr_community/bintools/extractor.py - Binary stream
slyr_community/parser/stream.py - Object registry
slyr_community/parser/object_registry.py - Parsed objects
slyr_community/parser/object.py
QGIS Conversion
- Conversion context
slyr_community/converters/context.py - Vector layers
slyr_community/converters/layers.py - Symbology
slyr_community/converters/symbols.py - Color conversion
slyr_community/converters/color.py - Text formatting
slyr_community/converters/text_format.py - Layout conversion
slyr_community/converters/layout.py
Style Utilities
- Style CLI tools
slyr_community/tools/style_dump.py
Other components
- QGIS user
- mdbtools
- QGIS style library
- ESRI style database
Connections 22
- QGIS user → Plugin setup: uses
- Plugin setup → Processing provider: registers
slyr_community/plugin.py - Processing provider → Style conversion: provides
slyr_community/qgis_plugin/provider.py - Processing provider → Layer conversion: provides
- Style conversion → Style extractor: extracts symbols
slyr_community/qgis_plugin/algorithms/style_to_xml.py - Style conversion → Conversion context: uses context
slyr_community/qgis_plugin/algorithms/style_to_xml.py - Style conversion → Symbology: converts symbols
slyr_community/qgis_plugin/algorithms/style_to_xml.py - Style conversion → QGIS style library: exports XML
- Layer conversion → Binary stream: parses layer
slyr_community/qgis_plugin/algorithms/lyr_to_qlr.py - Layer conversion → Conversion context: uses context
slyr_community/qgis_plugin/algorithms/lyr_to_qlr.py - Layer conversion → Vector layers: converts layer
slyr_community/qgis_plugin/algorithms/lyr_to_qlr.py - Binary stream → Object registry: creates objects
slyr_community/parser/stream.py - Object registry → Parsed objects: registers subclasses
slyr_community/parser/initalize_registry.py - Symbology → Conversion context: uses settings
slyr_community/converters/symbols.py - Symbology → Color conversion: converts colors
slyr_community/converters/symbols.py - Text formatting → Color conversion: converts colors
slyr_community/converters/text_format.py - Text formatting → Symbology: uses symbols
slyr_community/converters/text_format.py - Layout conversion → Symbology: converts symbols
slyr_community/converters/layout.py - Layout conversion → Conversion context: uses context
slyr_community/converters/layout.py - Style extractor → mdbtools: runs command
slyr_community/bintools/extractor.py - Style CLI tools → Style extractor: reads style data
slyr_community/tools/style_dump.py - ESRI style database → Style CLI tools: provides input