STPos |
Top |
STPos releases the station texts of the selection list, while in an exemption circle around the station symbol by an attempt, and mistake method a free position is determined for the Stationsbetextung. Condition is that every station object contains a symbol. If an exemption is not possible, the Betextung remains in her original position. The positioning attempts follow concentric, greater growing circles around the station symbol. The Defaultabstand of the circles amounts to 2.0 m and with this distance the text positions to be tested on the circle are also distributed. Thus a position with the smallest distance is determined in the successful case to the symbol.
Tip: With this function blattrandparallele texts are subordinated! Without parametre/SEL is gone out from the open object! Syntax STPos stationkeys / in 5500 radius / 50.0 sdky / 1.2 tdky / 3.4 sym / in 5500 step / 5.0 dist / 1.0/reset/makethebest Parametre stationkeys/N, n. Object key of the stations. radius/x.x Radius of the exemption circle in m. Definition of the maximum distance of the text to the symbol, i.e. no place of the Textumringes is other after the movement than x metre of the symbol is removed sdky/N, n. Definition of the string relevant for exemption. (Alternatively can be defined of string also over object key: skey/N, n...) Being of these parametres not given, are relevant all string of the selection list! Should cuts be allowed with a narrow local situation, e.g., basically between station texts and string, this can be reached by sdky/N (and n a not seeming key calls). Whether the parametres sdky, tdky or sym still make sense by use of the option/makethebest, the program author may not decide. tdky/N, n... Definition of the relevant texts. (Alternatively texts can be also defined over object key: tkey/N, n...). If this parametre is not given, all texts of the selection list are relevant! sym/N, n... Definition of the relevant symbolic numbers. If this parametre is not given, all symbols of the selection list are relevant!
tap dance / x.x Step width for the Rasterung of the positioning in m, Default: 2.0 m. Small step width generates a better result, however, makes worse the term. As a step width a value of 5% of the exemption radius should be chosen.
dist/x.x Distance between station text and neighbouring geometry in m, Default: 0.0 The exemption works inside with text and Symbolumringen, hence, only approximated values are reached. Is not to be reached in the mode/makethebest a text exemption with given distance, this is reduced gradually to find one more free surface, nevertheless.
/reset Is given "/reset", then the exemption of the text begins regardless of the topical text position in the knot. Is not given "/reset" and the text in the topical position is already released, he is not worked on. If the text is not released yet, the exemption in the knot (begins like on top). /makethebest Collisions are valued, there occurs a positioning on the "smallest evil". The parametre contributes to the improvement of the result, however, makes worse the term behaviour collisions are valued, there occurs a positioning on the "smallest evil". If a text could not be released, STPos best (bad) determines positions. Besides, a conflict between the station text and other texts is serious than a conflict with a symbol. The conflict with a string has the slightest valency.
tscalew/x.x Factor for the width of the text frames By the use of Windows-Fonts fit if necessary the Moskito's boarders Fonts. tscaleh/x.x Factor for the height of the text frames. These parametres only make sense, if the text are not shown about a Mosktio-Vektorfont. If Textumringe do not fit to the shown text, then the result of the text exemption becomes questionable. About these both parametres (tscalew/and tscaleh/) the surrounding can be adjusted. By the auxiliary function ShowTxtUmr if these parametres can be determined as follows: - Bildauschnitt with station texts in 1:10000 or 1:25000 present arms - ShowTxtUmr/sel tscalew / 1.0 tscaleh / 1.0 indicates the Textumringe. Perhaps these values adapt, until the surrounding fit to the texts, these values are also to be given with STPos.
/SEL The functionality is applied to the whole selection amount /h Short help
Example Minimum call:
STPos/sel stationkeys / in 5500 radius / 50.0 The stations of the selection list with the key are worked on in 5500. One is searched for every Stationsbetextung to all graphic elements of the selection list conflict-free position and the smallest distance may not cross 50 metres between the station text and the co-ordinates of the station symbol. If a text is already released in his position, he is not worked on. Otherwise begins the exemption attempts in the symbolic position.
Maximialaufruf:
STPos/sel stationkeys / in 5500 radius / 50.0 sdky / 1.2 tdky / 3.4 sym / in 5500 step / 5.0 dist / 1.0/reset/makethebest STPos stationkeys / in 5500 radius / 50.0
To the exemption all string lying in the exemption circle, texts and symbols are evaluated. The exemption begins with the topical text position. See also
|