Feature request #1962

bigint types in graduated or continuos color symbology are not considered valid

Added by Sandro Santilli over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Symbology
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12022

Description

While playing a bit with freegis country data r1 I found that qgis symbology manager
doesn't allow to use fields of type 'bigint' as classification fields for continuos color
or 'gradueted symbol'.

I haven't researched on whether the limitation also apply to other kind of types,
but I do see 'numeric' type is correctly handled.

This is 1.3.0 Mimas.

int8_classify.patch Magnifier - Patch against r11739 (1.29 KB) Sandro Santilli, 2009-10-01 06:53 AM

History

#2 Updated by Sandro Santilli over 14 years ago

Sorry, another thing I haven't specified is that data access is trough postgres.
That's where 'bigint' and 'numeric' come from.

To recap: 'numeric' and 'integer' are known to work, 'bigint' is not working.

#3 Updated by Sandro Santilli over 14 years ago

additional note, the type query returns 'int8' as looks to be expected by code in qgspostgresprovider.cpp constructor.

#4 Updated by Sandro Santilli over 14 years ago

int8_classify.patch fixes the problem in both 'graduated' and 'continuos' thematizations.
reviews welcome.

#5 Updated by Tim Sutton over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Applied in 77c03ad4 (SVN r11741). Many thanks.

Also available in: Atom PDF