Dear all,
I recently faced the problem with raster colortables. Grass 7.0, GUi, Ubuntu platform
I click Raster -> colortables -> manage color rules interactively. And see the window.
I can change colors as well as break values, but I cannot apply them to raster.
The buttons "Apply" and "Preview" as well as "Reload default table" in the window "Manage color rules interactively" doesn't work
Corresponding buttons are present but have an inactive state. The only things I can do in this window are exit and activate "help" window.
It works good in Windows but not in Ubuntu....
Such a way, all my rasters have only default colortables and I can't change it.
Can anyone help me to solve the problem?
And one more question:
How can I save created colortable. In what format?
--
Best regards,
Maria V. Kozlova
š /------------------------------------\
š Information System Lab. (ISysLab)
š State Oceanographic Institute,
š Kropotkinsky per., 6,
š MOSCOW, 119034,
š RUSSIA
š ------------------------------------
š tel. š š+7 499 246 6448
š fax. š š+7 499 246 7288
š mailto: škclo@yandex.ruš
š \------------------------------------/
Thanks, Vero
unfortunately I don't know how to create colormap rules file without GUI which is not working...
And by the way, I need to change break values rather than apply certain colors to make maps visually comparble. Maybe there is a way to do it with command line?
--
Best regards,
Maria V. Kozlova
š /------------------------------------\
š Information System Lab. (ISysLab)
š State Oceanographic Institute,
š Kropotkinsky per., 6,
š MOSCOW, 119034,
š RUSSIA
š ------------------------------------
š tel. š š+7 499 246 6448
š fax. š š+7 499 246 7288
š mailto: škclo@yandex.ruš
š \------------------------------------/
05.08.2015, 14:58, "Veronica Andreo" <veroandreo@gmail.com>:
Hi Maria
2015-08-05 5:33 GMT-03:00 Kozlova Maria <kclo@yandex.ru>:
Dear all,
I recently faced the problem with raster colortables. Grass 7.0, GUi, Ubuntu platform
I click Raster -> colortables -> manage color rules interactively. And see the window.
I can change colors as well as break values, but I cannot apply them to raster.
The buttons "Apply" and "Preview" as well as "Reload default table" in the window "Manage color rules interactively" doesn't work
Corresponding buttons are present but have an inactive state. The only things I can do in this window are exit and activate "help" window.
It works good in Windows but not in Ubuntu....
Such a way, all my rasters have only default colortables and I can't change it.
Can anyone help me to solve the problem?
Have you tried command line?
# for predefined color tables (check manual page for more color tables available)
r.colors map=your_map1,your_map2 color=bcyr
# in case you create your own color table
r.colors map=your_map1,your_map2 rules=path/to/color/rules/file
And one more question:
How can I save created colortable. In what format?
It is a simple plain text file. Check formating here:
http://grass.osgeo.org/grass70/manuals/r.colors.html
Hope it helps... sorry I can't help with the gui problem.
Cheers,
Vero
Thank you!
I'll try it!
--
Best regards,
Maria V. Kozlova
š /------------------------------------\
š Information System Lab. (ISysLab)
š State Oceanographic Institute,
š Kropotkinsky per., 6,
š MOSCOW, 119034,
š RUSSIA
š ------------------------------------
š tel. š š+7 499 246 6448
š fax. š š+7 499 246 7288
š mailto: škclo@yandex.ruš
š \------------------------------------/
05.08.2015, 15:35, "Veronica Andreo" <veroandreo@gmail.com>:
Hi
Thanks, Vero
unfortunately I don't know how to create colormap rules file without GUI which is not working...
Do you know the range of values your map takes, right?? So, let's say it goes from 0 to 100, just split values as you wish and assign colors, it will consider those intervals. Example:
0 black
20 yellow
40 orange
60 red
80 green
100 blue
There are a lot of examples here: http://grass.osgeo.org/grass71/manuals/r.colors.html
And by the way, I need to change break values rather than apply certain colors to make maps visually comparble. Maybe there is a way to do it with command line?
you set the color table for one map (map1), and then, to make them visually comparable, you set the other maps color table to the first map, like this:
r.colors map=map2,map3,map4 raster=map1
so, all maps will take the color table of map1.
Cheers,
Vero