[Mapserver-users] Mapinfo symbols

Ballini Yvain Ballini.Yvain at seat.it
Wed Dec 17 09:06:48 PST 2003


Hi list,

I would like to read the arrows of a .tab file in mapserver: the pb is
that I can read the position but not the orientation of the arrow which
is contained in the "Style" line of the .tab (see under).
when I try to read my file arrow.tab with ogrinfo it turns me these
properties for the arrow layer:

Layer name: arrow
Geometry: Point
Feature Count: 267349
Extent: (6.682870, 36.681040) - (18.495850, 46.895265) Layer SRS WKT:
GEOGCS["unnamed",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563],
        TOWGS84[0,0,0,0,0,0,0]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433]]
LABEL: String (70.0)
OGRFeature(arrow):1
  LABEL (String) =
  Style = SYMBOL(a:322,c:#4144ae,s:13pt,id:"mapinfo-sym-111.ogr-sym-1")
  POINT (8.85458500 45.96559000)

OGRFeature(arrow):2
  LABEL (String) =
  Style = SYMBOL(a:322,c:#4144ae,s:13pt,id:"mapinfo-sym-111.ogr-sym-1")
  POINT (8.85458500 45.96559000)
........

I define my arrow layer like that:
LAYER
  NAME freccie_navtech
  PROJECTION
  "proj=longlat"
  "ellps=intl"
  "no_defs"
  END
  STATUS OFF
  DATA arrow#chiave_in_piazzale_segesta#arrow#vie3_polyline
  CONNECTIONTYPE OGR
  CONNECTION
"c:\mapserver\itasca\data\arrow.tab"#chiave_in_piazzale_segesta.tab"#arr
ow.tab"
  STYLEITEM "AUTO"
  TYPE point
   CLASS
    #STYLE
    #  SYMBOL arrow
    #  size 20
      COLOR 88 88 245
      #ANTIALIAS TRUE
    #END
  END
END

I think I can't recognize the id mapinfo-sym-111 which represents the
arrow...but the position of the default point symbol is right on the
map.
Does someone know something about this problem or if there is a setting
in the mapfile which could solve my problem?
Thanks a lot.
Yvain.  





More information about the MapServer-users mailing list