Opened 13 years ago

Last modified 13 years ago

#3667 assigned defect

Serious DGN label rendering issue since MS 5.4.x — at Initial Version

Reported by: nilpohc Owned by: sdlime
Priority: normal Milestone:
Component: OGR Support Version: unspecified
Severity: major Keywords:
Cc: warmerdam

Description

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 they always crash 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 (memory handling issue ?).

Change History (1)

by nilpohc, 13 years ago

Attachment: 77186v7.zip added

Archive containing DGN file and PNG screenshot

Note: See TracTickets for help on using tickets.