[GRASS-user] [GRASS GIS Elections 2020] Nomination of Martin Landa

2021-01-02 Thread Chief Return Officer (CRO) - GRASS GIS election 2020

Dear members of the GRASS GIS community,

Martin Landa has accepted a nomination to the PSC made by Verónica Andreo.

Hernán

Chief Return Officer (CRO)

 Forwarded Message 
Subject:Re: Nomination of Martin Landa
Date:   Fri, 1 Jan 2021 21:49:38 +0100
From:   Martin Landa 
To: variablestarli...@gmail.com



Dear Hernan,

pá 1. 1. 2021 v 12:57 odesílatel Chief Return Officer (CRO) - GRASS
GIS election 2020  napsal:

A member of the GRASS GIS community has nominated you as a candidate for the 
next PSC.

Please reply to me in order to accept or decline this nomination.

In case you accept, and after the nomination period has passed, you will be 
asked to write a very brief statement on what your aims are as a member of the 
PSC during your tenure period.


I accept the nomination.

Best regards, Martin


On 2021-01-01 01:17, Veronica Andreo wrote:

Dear CRO,

Happy New year!

I'd like to nominate Martin Landa for PSC. I have asked him privately
and he has agreed.


Martin is one of the main devs of GRASS and he is very important for
the project.

He has mentored many students through the years leading to significant
additions and improvements to grass gis. Moreover, his support
(especially with windows builds) and vision in several development
aspects are really valuable. He has also taught many courses and
prepared great material for public use.

All the best,

Vero

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


Re: [GRASS-user] Polar projection

2021-01-02 Thread Jón Eiríksson

Dear Ken,

I am afraid I do have the same problem, - the command does not make a 
grid to the pole. Should have tested before responding, sorry. So I 
think you should proceed with a bug report,


Jon



On 1 Jan 2021, at 17:12, Ken Mankoff wrote:


Hi Jón,

I work regularly in EPSG:3413, but the same issue applies. "d.grid -g 
1:0" doesn't make a grid to the pole. Does it for you? I'd like to 
submit a bug report as per the suggestion from Markus, but am not sure 
what the bug is if this command works for you when the pole is 
included in the view.


  -k.

On 2020-12-31 at 09:23 -08, Jón Eiríksson  wrote...

This has worked for me:

(Thu Dec 31 17:22:11 2020)
g.proj -p
-PROJ_INFO-
name   : Stereographic
proj   : stere
datum  : wgs84
ellps  : wgs84
lat_0  : 90
lat_ts : 70
lon_0  : -45
k  : 1
x_0: 0
y_0: 0
no_defs: defined
towgs84: 0.000,0.000,0.000
-PROJ_EPSG-
epsg   : 3413
-PROJ_UNITS
unit   : meter
units  : meters
meters : 1
(Thu Dec 31 17:22:11 2020) Command finished (0 sec)

Jon




On 31 Dec 2020, at 16:26, Markus Neteler wrote:


Hi Ken,

On Thu, Dec 31, 2020 at 3:06 AM Ken Mankoff  
wrote:


Dear GRASS List,

Can someone suggest what setup to use (EPSG code? proj4 code?) to
have the projection centered on the N. pole? I'm looking to create
a graphic similar to this image in the Raster Gallery:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrass.osgeo.org%2F%2Fimages%2Fgallery%2Fraster%2Fday_on_earth_N.png&data=04%7C01%7Cjeir%40hi.is%7Cbab065ba5fa94867219a08d8ae786727%7C09fa5f0e211846568529677ed8fdbe78%7C0%7C0%7C637451179441104707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=zcVbgCptTcrREvuVucAfEWdb%2BPH2Qsl6DktIkru94jE%3D&reserved=0

If I set up a polar projection based on
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspatialreference.org%2Fref%2Fsr-org%2F8243%2F&data=04%7C01%7Cjeir%40hi.is%7Cbab065ba5fa94867219a08d8ae786727%7C09fa5f0e211846568529677ed8fdbe78%7C0%7C0%7C637451179441104707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QrsQH1MA6ehd%2BcPpLwwQ6190ki6shHnr7UptJsF50EU%3D&reserved=0
using:

grass -c ./G
g.proj -c proj4="+proj=stere +lat_0=90 +lat_ts=45 +lon_0=-170 +k=1
+x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"

Things mostly work, but

d.grid -g 1:0 color=red

does not show latitude lines on most of the graphic (see attached).


I managed to generate it with

Preparation of a 10 degree grid:

# EPSG:4326
GRASS :~ > g.region -dp
projection: 3 (Latitude-Longitude)
zone:   0
datum:  wgs84
ellipsoid:  wgs84
north:  90N
south:  90S
west:   180W
east:   180E
nsres:  1
ewres:  1
rows:   180
cols:   360
cells:  64800
GRASS :~ > v.mkgrid grid=36,18 map=grid_10deg
# download "Natural Earth I with Shaded Relief, Water, and 
Drainages"

from
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.naturalearthdata.com%2Fdownloads%2F10m-raster-data%2F10m-natural-earth-1%2F&data=04%7C01%7Cjeir%40hi.is%7Cbab065ba5fa94867219a08d8ae786727%7C09fa5f0e211846568529677ed8fdbe78%7C0%7C0%7C637451179441104707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BmlSMFy8mUpdUQxbZw10dM7Rzzq4Vztpc33Ha8dx75M%3D&reserved=0
GRASS :~ > r.import in=NE1_HR_LC_SR_W_DR.tif
output=natural_earth_global_landcover
GRASS :~ > g.region raster=natural_earth_global_landcover.1
GRASS :~ > r.composite r=natural_earth_global_landcover.1
g=natural_earth_global_landcover.2 
b=natural_earth_global_landcover.3

out=natural_earth_global_landcover.rgb
GRASS :~ > exit

# WGS 84 / Arctic Polar Stereographic
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fepsg.io%2F3995&data=04%7C01%7Cjeir%40hi.is%7Cbab065ba5fa94867219a08d8ae786727%7C09fa5f0e211846568529677ed8fdbe78%7C0%7C0%7C637451179441104707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=67g63WlKT3zJfzmTuPxNAciU9Uq65N%2F6ypc%2FpjntWT8%3D&reserved=0
grass78 -c epsg:3995 ~/grassdata/arctic_polar_stereographic
GRASS :~ > g.proj -w
PROJCS["WGS 84 / Arctic Polar Stereographic",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","4326"]],
PROJECTION["Polar_Stereographic"],
PARAMETER["latitude_of_origin",71],
PARAMETER["central_meridian",0],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["m

Re: [GRASS-user] Can GRASS create color table in16 bit?

2021-01-02 Thread Micha Silver


On 1/2/21 9:13 AM, mega saputra wrote:

Dear all,

I try to create color table in 16 bit. That is in attachment. But, 
when I set color table interactively, then I input that file (in 
attachment), then I click Load. There is a message : "Invalid color 
table format". Do I missing something?




I think you have the categories and colors backwards. RGB color tables 
are (throughout all GIS and image software) always three 8 bit numbers, 
with optionally a fourth alpha band, also 8 bit. In your rules file you 
attach raster values (16 bit numbers in your case) to certain RGB 
values.  So, To define a color table for your raster you put the raster 
values in the left column and R:G:B (0-255) combinations in the right 
column.



Here's an example of the srtm (elevation) builtin color table. Maybe you 
can use it as a template.



-11000 0:0:0
-500 0:0:10
-300 0:0:20
-200 0:0:70
-100 0:0:130
-50 0:0:205
0 100:128:255
0.1 57:151:105
100 117:194:93
200 230:230:128
500 202:158:75
1000 214:187:98
2000 185:154:100
3000 220:220:220
5000 250:250:250
8850 255:255:255
nv 255:255:255
default 255:255:255


It spans the range of elevations from sea bottom (-11000 m) to the peak 
of the Himalaya Mts. (8850 m)



HTH



Thank you.

Regards,
mega

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


--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

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


Re: [GRASS-user] Can GRASS create color table in16 bit?

2021-01-02 Thread Moritz Lennert
AFAIK, GRASS only supports 8 bit color definitions, i.e. 0-255 for each of R, 
G, and B. This allows for 16 million different color tones which is generally 
enough.

Moritz

Am 2. Januar 2021 08:13:07 MEZ schrieb mega saputra :
>Dear all,
>
>I try to create color table in 16 bit. That is in attachment. But, when I
>set color table interactively, then I input that file (in attachment), then
>I click Load. There is a message : "Invalid color table format". Do I
>missing something?
>
>Thank you.
>
>Regards,
>mega
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user