Opened 15 years ago

Closed 15 years ago

#1962 closed patch (fixed)

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

Reported by: strk Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Symbology Version: 1.3.0
Keywords: Cc:
Must Fix for Release: No Platform: SuSE
Platform Version: Awaiting user input: no

Description

While playing a bit with freegis country data [1] 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.

Attachments (1)

int8_classify.patch (1.3 KB ) - added by strk 15 years ago.
Patch against r11739

Download all attachments as: .zip

Change History (7)

comment:2 by strk, 15 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.

comment:3 by strk, 15 years ago

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

by strk, 15 years ago

Attachment: int8_classify.patch added

Patch against r11739

comment:4 by strk, 15 years ago

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

comment:5 by lutra, 15 years ago

Milestone: Version 1.4.0
Type: bugpatch

comment:6 by timlinux, 15 years ago

Resolution: fixed
Status: newclosed

Applied in r11740. Many thanks.

Note: See TracTickets for help on using tickets.