[Mapserver-users] MapInfo -> ogrinfo style and label

Merrett, Mike mike.merrett at city.whitehorse.yk.ca
Fri May 21 18:51:35 EDT 2004


Hi:
	given the following output of OGR -- how do I get access for a label
to the "a:265.00000"


OGRFeature(CAD_text):2
  DXF_ (Integer) = 2
  DXF_ID (Integer) = 2
  X (Real) = 493722.643523147
  Y (Real) = 6739906.71706199
  OFFSETX (Real) = 0
  OFFSETY (Real) = 0
  HEIGHT (Real) = 40
  SYMBOL (Integer) = 1
  LEVEL (Integer) = 2
  TEXT (String) = 1337
  e00_anno_id (Integer) = 2
  e00_text_level (Integer) = 2
  e00_anno_name (String) = DXF
  Style = LABEL(t:"1337",a:265.000000,s:32.001486g,c:#000000,p:1,f:"")
  POINT (493722.639 6739906.691)

OGRFeature(CAD_text):3


In other words the LABEL object has ANGLE AUTO - which does not seem to work
-- but the angle is available in the OGRinfo output -- how do I use it?  The
OGR documentation says "Text angle is mapped to CLASS.LABEL.ANGLE"  -- how
do I get access to this?
Thanks,
Mike Merrett






More information about the mapserver-users mailing list