[Mapserver-users] Rotating text problem relating to OGR and Dgn File

Lee, Han Han.Lee at Advantica.biz
Wed Mar 17 09:06:38 PST 2004


I am trying to display text from DGN file using OGR.
I am able to display the text but the text is not rotated.

I define my layer like this:

LAYER
  NAME Courval_Text
  TYPE ANNOTATION
  CONNECTIONTYPE OGR
  CONNECTION "D:\WMV_Data\ShapeFiles\Courval.dgn"
  STATUS DEFAULT
  STYLEITEM "AUTO"
  
  MINSCALE -10
  MAXSCALE 3000

  CLASS
  END # class

  TOLERANCE 10
  DUMP TRUE # allow GML export

  METADATA
    WMS_TITLE "Background"
    WMS_ABSTRACT "Background"
    WMS_SRS "EPSG:26915"
  END
END

I tried many different formats (ArcInfo coverage, mif, tab files) to rotate
the text,
but that didn't work.
I thought that STYLEITEM "AUTO" should use the angel value to rotate the
text.

Any ideas?

Han




More information about the MapServer-users mailing list