Hi all,<br>
<br>
<br>
Trying to load DGN drawing file as the map source. The map itself is
ok. But the problem is: I DON'T SEE the labels of ROAD, STREET,
BUILDING NAMES on the web page.<br>
<br>
I'm sure the labels are there. Can see ENGLISH texts if open using
OpenEV (although it seems having problem showing CHINESE characters).
On MapServer, they are not there.<br>
<br>
DGN file only has one layer: the 'elements' layer. So, I rule out the possibility of a particular layer's problem.<br>
<br>
Using ogrinfo to output the information. It appears to me that the Map
(map features) themselves are represented using PEN statement like the
followings and these are shown OK:<br>
<br>
OGRFeature(elements):510<br>
Type (Integer) = 4<br>
Level (Integer) = 17<br>
GraphicGroup (Integer) = 0<br>
ColorIndex (Integer) = 0<br>
Weight (Integer) = 3<br>
Style (Integer) = 0<br>
EntityNum (Integer) = 5<br>
MSLink (Integer) = 112<br>
Text (String) = (null)<br>
Style = PEN(id:"ogr-pen-0",c:#ffffff,w:3px)<br>
LINESTRING (835281.27600000007 815600.15000000002 0,835281.27600000007 815600.15000000002 0)<br>
<br>
<br>
For the text labels, they are represented using the LABEL function like below and these are the ones NOT SHOWN:<br>
<br>
OGRFeature(elements):535<br>
Type (Integer) = 17<br>
Level (Integer) = 11<br>
GraphicGroup (Integer) = 0<br>
ColorIndex (Integer) = 0<br>
Weight (Integer) = 0<br>
Style (Integer) = 0<br>
EntityNum (Integer) = (null)<br>
MSLink (Integer) = (null)<br>
Text (String) = Convention and Exhibition Centre<br>
Style = LABEL(t:"Convention and Exhibition Centre",c:#ffffff,s:1.800g)<br>
POINT (835848.10800000001 816023.95000000007 0)<br>
<br>
<br>
<br>
It is a steep learning curve for me to understand MapServer and the
elements behind. Hope someone can point out what should I do to make
the ROAD, BUILDING NAME labels appear correctly.<br>
<br>
Million thanks.<br>
jack ling<br>
<br>
<br>
<br>