[GRASS-user] ITRF92 Not found.

Dear Grass fiends.
I have a little problem and I don’t Know if you can help me.
When I try to create a new location from parameters or from map, or when I try to import an ITRF92 from INEGI map, I got this message from console ITR92 not recoggnized and no parameters found.

Is there a way in which I can add this parameters to Grass default list or include them into default creation parameter list?

Thanks in advance, Javier García Prieto.

(attachments)

ITRF92_No Encontrado.png

Dear Javier,

On Sat, Mar 13, 2021 at 8:44 PM javier Garcia Prieto
<fjgarciaprieto@hotmail.com> wrote:

Dear Grass fiends.
I have a little problem and I don't Know if you can help me.
When I try to create a new location from parameters or from map, or when I try to import an ITRF92 from INEGI map, I got this message from console ITR92 not recoggnized and no parameters found.

Is there a way in which I can add this parameters to Grass default list or include them into default creation parameter list?

I have added an alias for the expanded ITRF92 name:

https://github.com/OSGeo/grass/pull/1460

(to be reviewed if correct).

Best,
Markus

PS: please copy terminal text (also) as text into the email, not only
as a screenshot.

Thank you!
You are really great! This is going to be so much useful to Mexican people, You are very kind.

How can I help, How can I include other definitions for Mexico like ITRF08?

I remember that Grass has US states projection definitions in order to create sites, Is there a way that I can achieve the same?

Thanks again for all your effort and kindness.

Javier García Prieto.

···

From: Markus Neteler neteler@osgeo.org
Sent: Sunday, March 14, 2021 11:58 AM
To: javier Garcia Prieto fjgarciaprieto@hotmail.com
Cc: GRASS user list grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] ITRF92 Not found.

Dear Javier,

On Sat, Mar 13, 2021 at 8:44 PM javier Garcia Prieto
fjgarciaprieto@hotmail.com wrote:

Dear Grass fiends.
I have a little problem and I don’t Know if you can help me.
When I try to create a new location from parameters or from map, or when I try to import an ITRF92 from INEGI map, I got this message from console ITR92 not recoggnized and no parameters found.

Is there a way in which I can add this parameters to Grass default list or include them into default creation parameter list?

I have added an alias for the expanded ITRF92 name:

https://github.com/OSGeo/grass/pull/1460

(to be reviewed if correct).

Best,
Markus

PS: please copy terminal text (also) as text into the email, not only
as a screenshot.

Hi,

On Sun, Mar 14, 2021 at 3:32 PM javier Garcia Prieto
<fjgarciaprieto@hotmail.com> wrote:

Thank you!
You are really great! This is going to be so much useful to Mexican people, You are very kind.

Glad to help. Now it is merged, i.e. it is already available in the
current source code of GRASS GIS 7.8.git and will be part of GRASS GIS
7.8.6 and later.

How can I help, How can I include other definitions for Mexico like ITRF08?

Please open an enhancement ticket at
https://github.com/OSGeo/grass/issues

and list the definitions you want to see. Please add respective
references like https://epsg.io/4914

I remember that Grass has US states projection definitions in order to create sites, Is there a way that I can achieve the same?

Yes, by pls by writing an enhancement ticket, listing your needs.

Thanks again for all your effort and kindness.

Javier García Prieto.

Best
Markus

--
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog

Dear Javier

(re-adding the list)

I am not sure what you try to achieve but you need GRASS GIS 7.8.6 (not yet published).
No need to compile PROJ.

If you would like to compile GRASS GIS yourself, see
https://grasswiki.osgeo.org/wiki/Compile_and_Install#Linux_Mint

The updated source code is here:
https://grass.osgeo.org/grass78/source/snapshot/

Best
Markus

···

Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog

On Tue, Mar 16, 2021 at 9:51 AM Markus Neteler <neteler@osgeo.org> wrote:

Hi,

On Sun, Mar 14, 2021 at 3:32 PM javier Garcia Prieto
<fjgarciaprieto@hotmail.com> wrote:
>
> Thank you!
> You are really great! This is going to be so much useful to Mexican people, You are very kind.

Glad to help. Now it is merged, i.e. it is already available in the
current source code of GRASS GIS 7.8.git and will be part of GRASS GIS
7.8.6 and later.

BTW, I made a test which you indicated to me off-list, with the
udpated GRASS GIS 7.8.git version:

gdalinfo republica2017_r15m.bil
Driver: EHdr/ESRI .hdr Labelled
Files: republica2017_r15m.bil
       republica2017_r15m.bil.ovr
       republica2017_r15m.bil.aux.xml
       republica2017_r15m.hdr
       republica2017_r15m.stx
       republica2017_r15m.prj
Size is 218763, 130943
Coordinate System is:
GEOGCRS["ITRF92",
    DATUM["International Terrestrial Reference Frame 1992",
        ELLIPSOID["GRS 1980",6378137,298.257222101,
            LENGTHUNIT["metre",1]],
        ID["EPSG",6651]],
    PRIMEM["Greenwich",0,
        ANGLEUNIT["Degree",0.0174532925199433]],
    CS[ellipsoidal,2],
        AXIS["longitude",east,
            ORDER[1],
            ANGLEUNIT["Degree",0.0174532925199433]],
        AXIS["latitude",north,
            ORDER[2],
            ANGLEUNIT["Degree",0.0174532925199433]]]
Data axis to CRS axis mapping: 1,2
Origin = (-117.124268882302502,32.718626154577500)
Pixel Size = (0.000138888889000,-0.000138888889000)
Corner Coordinates:
Upper Left (-117.1242689, 32.7186262) (117d 7'27.37"W, 32d43' 7.05"N)
Lower Left (-117.1242689, 14.5320984) (117d 7'27.37"W, 14d31'55.55"N)
Upper Right ( -86.7405189, 32.7186262) ( 86d44'25.87"W, 32d43' 7.05"N)
Lower Right ( -86.7405189, 14.5320984) ( 86d44'25.87"W, 14d31'55.55"N)
Center (-101.9323939, 23.6253623) (101d55'56.62"W, 23d37'31.30"N)
Band 1 Block=218763x1 Type=Int16, ColorInterp=Undefined
  Min=-32.000 Max=5610.000
  Minimum=-32.000, Maximum=5610.000, Mean=1041.610, StdDev=820.476
  NoData Value=-32768
  Overviews: 109382x65472, 54691x32736, 27346x16368, 13673x8184,
6837x4092, 3419x2046, 1710x1023, 855x512, 428x256, 214x128
  Metadata:
    SourceBandIndex=0
    STATISTICS_SKIPFACTORX=1
    STATISTICS_SKIPFACTORY=1

# generate location from dataset
grass78 -c republica2017_r15m.bil /mnt/data/grassdata/mexico

# verify projection
GRASS 7.8.6dev (mexico):~ > g.proj -w
GEOGCRS["ITRF92",
    DATUM["International Terrestrial Reference Frame 1992",
        ELLIPSOID["GRS 1980",6378137,298.257222101,
            LENGTHUNIT["metre",1]],
        ID["EPSG",6651]],
    PRIMEM["Greenwich",0,
        ANGLEUNIT["Degree",0.0174532925199433]],
    CS[ellipsoidal,2],
        AXIS["longitude",east,
            ORDER[1],
            ANGLEUNIT["Degree",0.0174532925199433]],
        AXIS["latitude",north,
            ORDER[2],
            ANGLEUNIT["Degree",0.0174532925199433]]]

# import DEM
r.import republica2017_r15m.bil output=republica2017_r15m

# set color table
r.colors republica2017_r15m color=srtm_plus

The result looks good to me.

best,
Markus