[mapserver-dev] Add support for using all OGR style parameters
szekerest at gmail.com
Tue Jan 15 00:48:25 PST 2013
Currently the OGR driver supports to get only of the various OGR label
style parameters as special attributes (ie. OGR:LabelText or OGR_LabelAngle)
We would like to use further style parameters in mapserver, so I've added a
sample implementation here:
This implementation provides support to use the following special attributes
where [paramId] is an integer value according to
the OGRSTLabelParam, OGRSTBrushParam, OGRSTPenParam, OGRSTSymbolParam
enumerations in ogr_core.h<http://www.gdal.org/ogr/ogr__core_8h-source.html>
With this addition we can easily map feature styles (ie mapinfo styles) to
classes for example by using *CLASSITEM [OGR:BrushParam2]* which refers to
the mapinfo brush id.
The proposed change seems relatively small to me, does anyone object to
implement this change in master branch?
Issue was added to github to track this change:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapserver-dev