[GRASS-user] winGRASS tester needed ... to fix upcoming releases :-)

dear GRASS GIS community,

testing of winGRASS is a important piece of puzzle to guarantee a stable and useable software on the MS windows platform in the future.

For this, we would need the help of the community now. :slight_smile:

background is an _error in g.extension while installing i.fusion.hpf in windows_

some more information

https://github.com/OSGeo/grass/issues/1477
https://github.com/OSGeo/grass/pull/1496

it's an encoding issue while opening files via python.

a possible solution may be set PYTHONUTF8=1 as environment variable.

and a way how you could help, just add

set PYTHONUTF8=1

in C:\OSGeo4W64\apps\grass\grass79\etc\env.bat just before GRASS_PYTHON is set. (or in the same file in the standalone winGRASS installation).

it would look like:

[...]
set PYTHONUTF8=1
set GRASS_PYTHON=%OSGEO4W_ROOT%\bin\python3.exe
[...]

and then happy GRASS GIS working :slight_smile: and report back if there are any issues in your daily winGRASS work.

kind regards
Helmut

Good afternoon all,

I have a polygon map with a handful of features, I’ve added a column I use for setting RGB values “RRR:GGG:BBB” to color them. I use three (3) colors - red, orange, and yellow - but I would like some of them to be transparent but I can’t find anywhere in the manuals what the code would be for transparent. Searching Google-land I see there’s an RGBa standard which can set tranparency but GRASS doesn’t seem to support that. I’ve tried setting the value to NULL, to “”, to “none”, and tried “0:0:0:0” (RGBa) all to no avail …

I am using ps.map to create an image so the ps rules file tells GRASS to use the RGB column to define the colors … I believe I’m stuck with this methodology for now.
Am I going to have to select the features which I do want colored and make a new map with just those features? or do I have to remove the postscript command for the RGB column and create a color table then reset my category values to 1, 2, 3, or 4 using a color table something like:
nv white
1 red
2 orange
3 yellow
4 white

end

I was hoping to avoid creating a color table and changing the category values as this map gets modified twice a day… It’s running in GRASS 7.4 on Linux …

Thanks and happy weekend!
:slight_smile:

Chris


grass-user mailing list

grass-user@lists.osgeo.org

https://lists.osgeo.org/mailman/listinfo/grass-user

Hi Chris,

Would choosing the categories (cat values) of features you want displayed help? AFAIU from the ps.map manual, it is possible to select cats to be displayed. Also, there’s the possibility to use a where clause.

Just out of curiosity: why are you still running GRASS 7.4? We are at 7.8.5 already with python 3 support and soon to release GRASS 8.0 :wink:

Best,

Vero

El vie, 23 abr 2021 a las 20:19, Chris Bartolomei via grass-user (<grass-user@lists.osgeo.org>) escribiĂł:

Good afternoon all,

I have a polygon map with a handful of features, I’ve added a column I use for setting RGB values “RRR:GGG:BBB” to color them. I use three (3) colors - red, orange, and yellow - but I would like some of them to be transparent but I can’t find anywhere in the manuals what the code would be for transparent. Searching Google-land I see there’s an RGBa standard which can set tranparency but GRASS doesn’t seem to support that. I’ve tried setting the value to NULL, to “”, to “none”, and tried “0:0:0:0” (RGBa) all to no avail …

I am using ps.map to create an image so the ps rules file tells GRASS to use the RGB column to define the colors … I believe I’m stuck with this methodology for now.
Am I going to have to select the features which I do want colored and make a new map with just those features? or do I have to remove the postscript command for the RGB column and create a color table then reset my category values to 1, 2, 3, or 4 using a color table something like:
nv white
1 red
2 orange
3 yellow
4 white

end

I was hoping to avoid creating a color table and changing the category values as this map gets modified twice a day… It’s running in GRASS 7.4 on Linux …

Thanks and happy weekend!
:slight_smile:

Chris


grass-user mailing list

grass-user@lists.osgeo.org

https://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi Vero - thanks for the idea. The quick and dirty fix was to just create a new map with just the features I want to show. I need to experiment a bitt o see what else can work but as usual with work - not enough free time to find the right solution. :frowning: We are stuck with the GRASS version for now … it takes forever to get software updates approved! (clearly) … but 7.8 is working it’s way through the approval process.

:slight_smile:
Chris

On Sunday, April 25, 2021, 10:56:13 AM EDT, Veronica Andreo veroandreo@gmail.com wrote:

Hi Chris,

Would choosing the categories (cat values) of features you want displayed help? AFAIU from the ps.map manual, it is possible to select cats to be displayed. Also, there’s the possibility to use a where clause.

Just out of curiosity: why are you still running GRASS 7.4? We are at 7.8.5 already with python 3 support and soon to release GRASS 8.0 :wink:

Best,

Vero

El vie, 23 abr 2021 a las 20:19, Chris Bartolomei via grass-user (<grass-user@lists.osgeo.org>) escribiĂł:

Good afternoon all,

I have a polygon map with a handful of features, I’ve added a column I use for setting RGB values “RRR:GGG:BBB” to color them. I use three (3) colors - red, orange, and yellow - but I would like some of them to be transparent but I can’t find anywhere in the manuals what the code would be for transparent. Searching Google-land I see there’s an RGBa standard which can set tranparency but GRASS doesn’t seem to support that. I’ve tried setting the value to NULL, to “”, to “none”, and tried “0:0:0:0” (RGBa) all to no avail …

I am using ps.map to create an image so the ps rules file tells GRASS to use the RGB column to define the colors … I believe I’m stuck with this methodology for now.
Am I going to have to select the features which I do want colored and make a new map with just those features? or do I have to remove the postscript command for the RGB column and create a color table then reset my category values to 1, 2, 3, or 4 using a color table something like:
nv white
1 red
2 orange
3 yellow
4 white

end

I was hoping to avoid creating a color table and changing the category values as this map gets modified twice a day… It’s running in GRASS 7.4 on Linux …

Thanks and happy weekend!
:slight_smile:

Chris


grass-user mailing list

grass-user@lists.osgeo.org

https://lists.osgeo.org/mailman/listinfo/grass-user


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user