[Mapserver-users] Symbols in mapserver

Ballini Yvain Ballini.Yvain at seat.it
Tue Jan 13 11:41:14 EST 2004


Hi List,

I would like to know if someone has already used some tab file or
shapefile in a mapserver application containing some oriented symbol
(like a directional arrow, for example). The problem isnt' dealing with
the case of label orientating because the tab file (or the shapefile,
without OGR support) which is used has a "Point" geometry and not a
"Line String" geometry.
Under there is an extract of my tab file whose I get the features info
with ogrinfo ("ogrinfo small_arrow.tab small_arrow"):
 
Layer name: small_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(small_arrow):1
  LABEL (String) =
  Style = SYMBOL(a:110,c:#4144ae,s:13pt,id:"mapinfo-sym-111.ogr-sym-1")
  POINT (8.85458500 45.96532000)

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

In fact, I would like to know if there is a way to use correctly this
tab file in mapserver or if I must use other data with my present
version of mapserver 4.0.
Any suggestion?
Thanks ! :)
Yvain.




More information about the mapserver-users mailing list