Hello everyone, First, excuse me for my bad English. J
I have long identified a problem of rotation of symbols in MapServer when
these symbols come from a TrueType font and they are configured as such in
the "SYMBOLS.SYM" file.
Example of symbols used in the crosswalks (the font file is attached to this
message) :
SYMBOL
NAME 'voirie_signal_horiz_ponct_pass_pieton'
TYPE TRUETYPE
FONT siig-voirie
ANTIALIAS true
CHARACTER "f"
END
The corresponding layer is defined as below under MapServer :
LAYER
NAME " Voirie_signal_horizontale_ponct"
TYPE POINT
STATUS DEFAULT
Postgis
PROCESSING "CLOSE_CONNECTION=DEFER"
DATA "geom from voirie.v_voirie_signal_horiz_ponct USING SRID=2154
USING UNIQUE oid"
[QUERIABLE]
Lambert 93
CLASSITEM "type_signal"
UNITS meters
SIZEUNITS pixels
MAXSCALEDENOM 1010
CLASS
NAME "Passages piétons"
TEXT 'f'
STYLE
SYMBOL "voirie_signal_horiz_ponct_pass_pieton"
COLOR 1 1 1
OUTLINECOLOR 255 255 255
SIZE 15
ANGLE45
END
END
END
The problem is when a rotation is applied to the symbol, MapServer applies
rotation from the lower left point of the symbol and not from the central
attachment point.
Accordingly, would you know of a specific configuration to be done under
MapServer to ensure that it uses the hang central point symbols TRUETYPE as
pivot point and not the lower left point of the symbol ?
Thank you in advance.
----------------------------------------------------------------------
Dorian CONSTANT Responsable SIG
SiiG (Syndicat Intercommunal dInformation Géographique)
1005 route de Vénéjan 30200 Saint-Nazaire
Tél: 04.66.90.58.00 Fax: 04.66.82.98.35 Mail: [email protected] Web:
http://www.siig.fr <http://www.siig.fr/>
Description : Description : Description : logo_siig2
P Avant d'imprimer, ayez une pensée pour notre environnement
<<image029.jpg>>
siig_voirie.ttf
Description: Binary data
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
