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

Assign vector colors from column #10918

Closed
qgib opened this issue Dec 8, 2007 · 10 comments
Closed

Assign vector colors from column #10918

qgib opened this issue Dec 8, 2007 · 10 comments
Labels
Feature Request Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Dec 8, 2007

Author Name: John Tull (John Tull)
Original Redmine Issue: 859

Redmine category:vectors


A great vector feature would be the ability to set color for vector features from an RGB column. This could be done similarly to GRASS's d.vect rgb_column assignment. See http://grass.itc.it/grass63/manuals/html63_user/d.vect.html

@qgib
Copy link
Contributor Author

qgib commented Jul 14, 2008

Author Name: Tim Sutton (Tim Sutton)


Neat idea - maybe it would be better to use html style #AABBCC hex colour codes rather? Perhaps Magnus Homann would be interested in this....but I think its better left for 2.0 since we are trying to avoid further ui changes and renderer changes at this point.

Regards

Tim

@qgib
Copy link
Contributor Author

qgib commented Jul 16, 2008

Author Name: John Tull (John Tull)


I agree with the roadmap change, unless someone already has it in the pipeline, which I doubt.

I would still see an RGB code being the default, or perhaps it can be set as an option. This is the standard in GRASS, so we should consider inoperability. Again, maybe there can be an option to select between RGB columns or a single column that uses html codes.

@qgib
Copy link
Contributor Author

qgib commented Jan 12, 2009

Author Name: nikos - (nikos -)


Hi all!

Any news with respect to assigning colors from an RGB list (=column in a vector map's attribute table)? And why not adopt grass's philosophy RRR:GGG:BBB.

I bombed into this ticket while searching for a way to automatically transfer the CORINE official colours from the grass database in qgis. It will be definetily a useful feature.

Cheers, Nikos

@qgib
Copy link
Contributor Author

qgib commented Jan 12, 2009

Author Name: John Tull (John Tull)


That format was exactly my thinking. I really hope to see this sometime. Otherwise, going from a raster to a vector AND maintaining color formatting is very difficult/impossible in Qgis. Is there another way?

@qgib
Copy link
Contributor Author

qgib commented Dec 25, 2011

Author Name: Giovanni Manghi (@gioman)


see also #13189


  • pull_request_patch_supplied was configured as 0
  • assigned_to_id removed nobody

@qgib
Copy link
Contributor Author

qgib commented Oct 6, 2012

Author Name: Pirmin Kalberer (Pirmin Kalberer)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - Nice to have

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2013

Author Name: Jürgen Fischer (@jef-n)


implemented now.


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

@qgib
Copy link
Contributor Author

qgib commented May 27, 2014

Author Name: Miroslav Umlauf (@mirouml)


Is there any description how is this implemented please?

@qgib
Copy link
Contributor Author

qgib commented Aug 8, 2014

Author Name: Andre Joost (Andre Joost)


Look for "Data defined properties", and these tutorials:

http://gis.stackexchange.com/questions/60450/data-defined-styles-in-qgis

and

http://gis.stackexchange.com/questions/109894/color-lat-lon-points-in-given-rgb-data

@qgib qgib added Feature Request Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
@KoalaGeo
Copy link

Is it possible add feature to save data driven colours (Hex code in attribute) as SLD so it can be applied properly - generate legends etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

2 participants