Minimal Docker setup for libCartoSym.
make buildmake runmake testmake cleanecc- eC Compilerecs- eC Systemecp- eC Preprocessorcs-canif- Cartographic symbology tool- libCartoSym libraries (libCartoSym.so, libCQL2.so, etc.)
# Convert between formats
cs-canif convert /data/input.sld /output/output.cs.json
# Analyze spatial relations
cs-canif de9im geometry1.wkt geometry2.wkt
# Evaluate styles
cs-canif eval style.cscss features.geojsonIf you use a bind mount for the output directory, you may need to fix permissions so the container can write to it. Run this command on your host before running the container:
sudo chown -R 999:999 ./outputThis sets the correct ownership for the libcartosym user inside the container.
./data→/data(input files)./output→/output(output files)