Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#704 closed defect (fixed)

Vector legend type: classification field broken for Single/Graduated Symbol and Continuous Color

Reported by: mneteler Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Map Legend Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: yes

Description

Hi,

for vector maps, it appears that the classification field is only accessible in "Unique Value":

  • in "Single Symbol" the classification field selector is missing
  • in "Graduated Symbol" it is there but no selection is possible (takes first column hardcoded)
  • in "Continuous Color" it is there but also here no selection is possible (takes first column hardcoded)

Since it works for "Unique Value", it would be great to get this fixed (both 0.8 and 0.9).

Thanks, Markus

Change History (5)

comment:1 by browlingson, 17 years ago

I don't see this for a shapefile loaded directly, but I do see something like this for a delimited text layer loaded from the delimited text plugin.

The reason is that the delimited text plugin doesn't try to guess if data are numeric or character, and so assumes they are all character, and so the only renderer that can make sense of character data is the "Unique Value" one. The others need numeric values.

So, try this on a real shapefile vector layer.

The fix would involve some rewriting of the delimited text plugin to guess column types.

comment:2 by mhugent, 17 years ago

Hi Markus,

in "Single Symbol", there is no need to choose a classification field because all features are rendered the same

in "Unique Value", all fields should be available for classification

for "Graduated Symbol" and "Continuous Color", only fields with numeric types are accessible

Could you check if QGIS distinguishes numerical and non-numerical data types right? The type system improved in the 0.9 developer version thanks to Martins contributions.

Regards, Marco

comment:3 by pcavallini, 17 years ago

Awaiting user input: set
Milestone: Version 0.9

comment:4 by mhugent, 17 years ago

Resolution: fixed
Status: newclosed

comment:5 by (none), 15 years ago

Milestone: Version 0.9

Milestone Version 0.9 deleted

Note: See TracTickets for help on using tickets.