[mapserver-users] Import of KML

xander xander at mitre.org
Wed Aug 31 12:27:53 EDT 2011


I would like to use a KML file as a vector data source (points), and use the
"heading" part of "IconStyle" to orient an icon at the location of the
point.  I can render the points, using shp2img, with a layer like this:

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

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

    CLASS
      NAME "windstyle"
      STYLE
        COLOR 32 32 128
        SYMBOL "circle"
        SIZE 6
      END
    END
  END

Now how do I make use of the attributes in the KML file to determine which
icon to use and how to orient it?

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Import-of-KML-tp6747216p6747216.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list