Generate Floating text
It is possible to create any kind of floating text for PlexMap 3D. Application examples are for example the 3D lettering of districts, landscape areas, building functions or similar.
Input data Anchor
he following example explains the procedure for creating floating text based on place names within the "Rheinland-Pfalz in 3D" application (vgl. www.rheinland-pfalz-in-3d.rlp.de).
In order to create a 3D text, a data set of type Feature is required, which contains at least one geocoordinate and the information to be displayed (in the example shown, the place names).
Usually this is a point geometry. If the input data is a polygon or a line, point geometries for each feature can be derived in the switchboard (e.g. using the Centroid function) over whose geocoordinate the text will later hover.
Crate Layer Anchor
To create a layer with floating text, a simple Switchboard is built around the 3D Text from 2D Objects function. As input data 3D Text from 2D Objects needs the Feature over which the letters should float later and the attribute value to be displayed (in our example the place names). For this, the attribute value is extracted from the point features using the Get Attribute function and passed to the 3D Text from 2D Objects function. Finally, the result of 3D Text from 2D Objects is stored as a Layer with Store in Layer and can now be included in a 3D View.
Set variable text size Anchor
In unserem Beispiel-Switchboard sind alle Flugtexte aktuell gleich groß. Man kann in 3D Text from 2D Objects über den Parameter size
die Größe je Datensatz beliebig ändern. Beispielsweise könnte die Größe in Abhängigkeit der Fläche oder in Abhängigkeit eines Attributes wie zum Beispiel Einwohnerzahl skaliert werden.
Please note that the value 1.0
stands for 100%
of the default size. 0.0
correspons to 0%
of the default size.