[mapserver-users] Re: Import of KML

2011-09-02 Thread kaipi
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

[mapserver-users] RE: Import of KML

2011-09-02 Thread xander
Kaipi, Thanks - that's really helpful. The use of EXPRESSION([ATTRIBUTE_FIELD]] = '...') and ANGLE[ROTATION] will solve half of my problem. It looks like the other half is a GDAL/OGR issue, not Mapserver. The KML IconStyle element of a point appears to be ignored by ogr (and by ogr2ogr). I