mapper
mapper copied to clipboard
Handle secondary symbols for OCD line symbols
OCD secondary symbols are placed in the middle between regular mid symbols. Mapper doesn't have explicit secondary symbols, so this must be implemented via a combined symbol. ~For test data such as MTBO symbol 711 Forbidden route, it turned out that the secondary symbol also needs to be mirrored.~
No export yet. Feedback and contributions welcome.
Task: GH-1951
For test data such as MTBO symbol 711 Forbidden route, it turned out that the secondary symbol also needs to be mirrored.
Actually, no. I'm afraid we just never imported the secondary symbol correctly because we never passed the right offset to setupPointSymbolPattern. :roll_eyes:
I tried to break none of the existing reconstructions of line symbols (framing, double line). But I didn't test with many OCD files.
We might add a similar convenience symbol to our symbol sets. This should expose the new code paths to automated testing.