[Qgis-developer] How to Set Symbol to Vector Layer that value is NULL

Martin Dobias wonder.sk at gmail.com
Sun Apr 15 04:46:53 EDT 2012


On Sat, Apr 14, 2012 at 7:39 AM, KSJ <ksj74208 at hotmail.com> wrote:
> Hi All:
>    I use QgsGraduatedSymbolRendererV2 to simulate colorbar (like
> matplotlib.colorbar)
>    use rendererV2.setClassAttribute to show using certain field
>    But there are some feature where its value of that field is NULL
>    I found that value NULL seems to be shown as value zero (range 0 - 0 )
>    Could I distinguish value NULL & zeros with different symbol?
>    or Could I make a symbol for NULL value?

Hi

right now the graduated symbol renderer does not distinguish between
NULL and zeros. Please feel free to file a feature request.

Martin


More information about the Qgis-developer mailing list