[mapserver-users] Serious DGN label rendering issue since MS 5.4.x

CHOPLIN Benoit bchoplin at generale-infographie.fr
Mon Jan 24 10:13:19 PST 2011


Hi,

Since MapServer 5.4.x (maybe before but 5.0.x was all right and i never tried 5.2.x)  i'm facing a very annoying issue concerning DGN annotation layers : when trying to deal with text orientation, both STYLEITEM < AUTO > and manual styling using [OGR :Label...] attributes fails. Debug mode shows that LabelAngle is always read as zero while text string and color are correctly read. Worse : i tried with more recent releases of GDAL and/or MS (home made or MS4W ones) but then  it crashes when i'm trying to use [OGR :LabelSize] (other attributes behave fine except - still - the angle). When it happens, the debug file shows that every attributes is read as empty or zero.

The last working context was GDAL 1.5.2 with  MS 5.0 .3, and only the DGN format seems to be impacted (MITAB stills behaves OK). The OGR style string seems correct, and changing the parameters order (so that it looks like MITAB's) didn't help. The code in mapogr.cpp seems fine and except the conditional compilation settings regarding OGR Style C API which was not used in MS 5.0.x i don't know what could cause this behaviour, except the OGR DGN driver itself.

Thanks for any help,

Benoit CHOPLIN
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110124/91377d57/attachment.htm>


More information about the MapServer-users mailing list