ROAD, STREET, BUILDING NAMES DOES'NT APPEAR.

Jack Ling fly2moon2 at GMAIL.COM
Mon Nov 7 03:53:25 EST 2005


Hi all,


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.

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.

DGN file only has one layer: the 'elements' layer. So, I rule out the
possibility of a particular layer's problem.

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:

OGRFeature(elements):510
Type (Integer) = 4
Level (Integer) = 17
GraphicGroup (Integer) = 0
ColorIndex (Integer) = 0
Weight (Integer) = 3
Style (Integer) = 0
EntityNum (Integer) = 5
MSLink (Integer) = 112
Text (String) = (null)
Style = PEN(id:"ogr-pen-0",c:#ffffff,w:3px)
LINESTRING (835281.27600000007 815600.15000000002 0,835281.27600000007
815600.15000000002 0)


For the text labels, they are represented using the LABEL function like
below and these are the ones NOT SHOWN:

OGRFeature(elements):535
Type (Integer) = 17
Level (Integer) = 11
GraphicGroup (Integer) = 0
ColorIndex (Integer) = 0
Weight (Integer) = 0
Style (Integer) = 0
EntityNum (Integer) = (null)
MSLink (Integer) = (null)
Text (String) = Convention and Exhibition Centre
Style = LABEL(t:"Convention and Exhibition Centre",c:#ffffff,s:1.800g)
POINT (835848.10800000001 816023.95000000007 0)



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.

Million thanks.
jack ling
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051107/d64ec874/attachment.html


More information about the mapserver-users mailing list