fixed exception with generic Geometry type in WMS GetLegendGraphic
Merge pull request #107 from mbarto/getlegendgraphic_genericgeometry

Fixed exception with generic Geometry type in WMS GetLegendGraphic