You can do that with EXPRESSION and ANGLE.
I am not sure if this works with KML - maybe you need to convert to
shapefile before (eg. with ogr2ogr).

  LAYER
    NAME WINDS
    EXTENT -180 -90 180 90
    TYPE POINT

    CONNECTIONTYPE ogr
    CONNECTION "C:/MapData/maps/KML/wind1.kml"
    DATA "wind1"

    CLASS
      EXPRESSION ([ATTRIBUTE_FIELD] = 'windstyle') # only points with
attribute 'windstyle' will be rendered
      NAME "windstyle"
      STYLE
        COLOR 32 32 128
        SYMBOL "circle"
        ANGLE [ROTATION] # if your points have an attribute field "ROTATION"
with an angle given in degrees the value will be used to rotate the symbol
        SIZE 6
      END
    END
  END 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Import-of-KML-tp6747216p6753628.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to