The SYMBOL in OGRFeature contains an angle. However this angle is not used
inside mapserver. The correct behavior is to set the angle in the mapfile
symbol. I will modify mapogr.cpp to accept angle.
Yvain Ballini has provided a test case for this. I will attach it.
Here's the output of ogrinfo on his layer and his 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"#a
> rr
> ow.tab"
> STYLEITEM "AUTO"
> TYPE point
> CLASS
> #STYLE
> # SYMBOL arrow
> # size 20
> COLOR 88 88 245
> #ANTIALIAS TRUE
> #END
> END
> END