[Qgis-user] displaying raster data

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Wed May 6 14:59:54 PDT 2015


Hi,
This is simple... and then not so simple... There are no raster 
attribute table in QGIS.  I imagine you mean a raster where, for example 
1 = farm land, 2 = city.... This is not implemented :( (I think it is in 
Grass).

The best way to get the unique values of a raster is to use the Grass 
r.report in the processing toolbox (you can play with r.stat also).  I 
think your raster needs to be in integer for this to work.  If it's not, 
you will get intervals I think.  For this select 
"raster/conversion/translate". Click on the yellow pencil and then use 
"-ot Int16" switch.  More info is you click on the help.

http://www.gdal.org/gdal_translate.html
http://grass.osgeo.org/grass70/manuals/r.report.html
http://grass.osgeo.org/grass71/manuals/r.stats.html

Hope this helps.

Nicolas


Le 2015-05-05 12:22, Tsering W Shawa (shawatw at Princeton.EDU) [via 
OSGeo.org] a écrit :
> I use ArcGIS on regular basis. However, I am planning to use QGIS to 
> teach GIS analysis to a NGO group. Somehow I can not find an option to 
> view a raster attribute table in QGIS. Is there a way to view a raster 
> attribute table in QGIS? Also, is there way to displaying raster 
> unique values? I also could not find an option to control a display of 
> continuous value using singleband pseudocolor. Is there a way to 
> control class interval?
>
> Any help will be appreciated.
>
> -Wangyal
>
>
> _______________________________________________
> Qgis-user mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=5204225&i=0>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://osgeo-org.1560.x6.nabble.com/displaying-raster-data-tp5204225.html
> To start a new topic under Quantum GIS - User, email 
> ml-node+s1560n4125267h38 at n6.nabble.com
> To unsubscribe from Quantum GIS - User, click here 
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg==>.
> NAML 
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 
>





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/displaying-raster-data-tp5204225p5204511.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150506/89eb9812/attachment.html>


More information about the Qgis-user mailing list