[Therion] Display Station comments on Map?

Max D md at foxel.org
Tue Sep 3 14:35:27 CEST 2019



> On 2. Sep 2019, at 21:25, Bruce Mutton <bruce at tomo.co.nz> wrote:
> 
> Max
> Does this start to solve your problem?
> ...
> I use this always to show only fixed or painted station symbols, but I don't think I have ever had luck with combined control of both underground and surface stations.

Thanks for the Pointers. I think Therion data structures  has no concept of "surface stations" - only shots have that attached. But I might be wrong.

I'm still fiddeling, but this is enough to display station comments:

layyout showcomments
    code metapost
        def p_station(expr pos,mark,txt)(text flags) =
            p_station_SKBB(pos,mark,txt,flags)
            T:=identity shifted pos;
            if picture(txt):
                p_smartlabel(txt,pos);
            fi;
        enddef;
    endcode
endlayout

To me it seems that the "flags" parameter in therion 5.4.4+b998d1b (2019-06-12) is always empty.
Not sure if this is a bug or if I'm missing something. The p_station_SKBB() macro has a lot of code for handling different flags which seems to be unused.

--max




More information about the Therion mailing list