Hi All,<br><div class="gmail_quote"><div><br></div><div>Currently the OGR driver supports to get only of the various OGR label style parameters as special attributes (ie. OGR:LabelText or OGR_LabelAngle)</div><div><br></div>
<div>We would like to use further style parameters in mapserver, so I've added a sample implementation here:</div>
<div><br></div><div><font color="#0000ee"><u><a href="https://github.com/szekerest/mapserver/commit/b29c6f44479ab9a879e7c1244598b3fb6d4e415a">https://github.com/szekerest/mapserver/commit/b29c6f44479ab9a879e7c1244598b3fb6d4e415a</a></u></font></div>
<div><br>
</div><div>This implementation provides support to use the following special attributes</div><div><br></div><div>OGR:LabelParam[paramId]</div><div>OGR:BrushParam[paramId]</div><div>OGR:PenParam[paramId]</div><div>OGR:SymbolParam[paramId]</div>

<div><br></div><div>where [paramId] is an integer value according to the OGRSTLabelParam, OGRSTBrushParam, OGRSTPenParam, OGRSTSymbolParam enumerations in <a href="http://www.gdal.org/ogr/ogr__core_8h-source.html" target="_blank">ogr_core.h</a>.</div>

<div><br></div><div>With this addition we can easily map feature styles (ie mapinfo styles) to classes for example by using <b>CLASSITEM [OGR:BrushParam2]</b> which refers to the mapinfo brush id.</div><div><br></div><div>
The proposed  change seems relatively small to me, does anyone object to implement this change in master branch?</div><div><br></div><div>Issue was added to github to track this change:</div><div><a href="https://github.com/mapserver/mapserver/issues/4562">https://github.com/mapserver/mapserver/issues/4562</a></div>

<div><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div>
</div><br>