Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
qgib opened this issue Oct 1, 2009 · 5 comments
Closed
Labels
Feature Request Symbology Related to vector layer symbology or renderers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Oct 1, 2009

Author Name: Sandro Santilli (@strk)
Original Redmine Issue: 1962

Redmine category:symbology
Assignee: nobody -


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.


@qgib
Copy link
Contributor Author

qgib commented Oct 1, 2009

Author Name: Sandro Santilli (@strk)


Forgot to mention the dataset source:
ftp://ftp.gwdg.de/pub/linux/intevation/freegis/worlddata/

@qgib
Copy link
Contributor Author

qgib commented Oct 1, 2009

Author Name: Sandro Santilli (@strk)


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.

@qgib
Copy link
Contributor Author

qgib commented Oct 1, 2009

Author Name: Sandro Santilli (@strk)


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

@qgib
Copy link
Contributor Author

qgib commented Oct 1, 2009

Author Name: Sandro Santilli (@strk)


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

@qgib
Copy link
Contributor Author

qgib commented Oct 1, 2009

Author Name: Tim Sutton (Tim Sutton)


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


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant