Re: [GRASS-user] help r.forestfrag

2023-03-24 Thread María Celeste Galizzi
Thank you very much!

El mié, 22 mar 2023 a las 18:42, Markus Neteler ()
escribió:

> Hi Celeste,
>
> On Thu, Mar 16, 2023 at 2:06 PM María Celeste Galizzi
>  wrote:
> >
> > Hi Markus!
> >
> > Yes,  I installed the plugin with g.extension.
> >
> > I had already calculated those indices for that or other rasters.
>
> Mhh - you wrote that you use GRASS GIS 7.8 (please consider to
> update!) but the error shows GRASS8 in the path:
>
> File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\r.forestfrag.py
> ",
> line 452, in 
>
> When using g.extension in GRASS GIS 7.8 it should fetch r.forestfrag
> from the grass7 branch in the addon repository.
>
> Best,
> Markus
>
> > Best,
> >
> > Celeste
> >
> > El mié, 15 mar 2023 a las 18:26, Markus Neteler ()
> escribió:
> >>
> >> Hi María Celeste,
> >>
> >> On Wed, Mar 15, 2023 at 3:24 PM María Celeste Galizzi
> >>  wrote:
> >> >
> >> > Mi nombre es Ma. Celeste Galizzi.
> >> > Estoy trabajando con imágenes Landsat 5 y 8.
> >> >
> >> > Hice las correcciones, apilado de bandas, kmeans y reclasificación.
> >> >
> >> > Sobre la imagen reclasificada es con la que estoy tratando de
> calcular los índices de fragmentación en Grass gis 7.8
> >>
> >> You are using GRASS GIS 7.8, but ...
> >>
> >> > Para ello importo la imagen raster, con la calculadora clasifico en
> bosque-no bosque y uso r.forestfrag para calcular los indices (tamaño de la
> ventana 15).
> >> >
> >> > En ese momento me aparece este mensaje
> >> >
> >> > WARNING: The window option is deprecated, use the option size instead
> >> > Traceback (most recent call last):
> >> > File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\
> >>
> >> ... seem to use the addon version for GRASS GIS 8 which may not be
> compatible.
> >>
> >> Did you install the addon with g.extension?
> >>
> >> Best,
> >> Markus
> >>
> >> > r.forestfrag.py", line 452, in 
> >> > sys.exit(main(*gs.parser()))
> >> > File "C:\Users\Cele\AppData\Roaming\GRASS8\addons\scripts\
> >> > r.forestfrag.py", line 239, in main
> >> > _(
> >> > TypeError: %d format: a number is required, not NoneType
> >> >
> >> >
> >> > Ya había trabajo con la imagen con otros tamaños de ventana.
> >> >
> >> > Por favor, podrían ayudarme a solucionar el problema?
> >> >
> >> > Desde ya muchas gracias!!!
> >> >
> >> > Saludos cordiales
> >> >
> >> > Ma. Celeste Galizzi
> >> > ResponderReenviar
> >> >
> >> > ___
> >> > grass-user mailing list
> >> > grass-user@lists.osgeo.org
> >> > https://lists.osgeo.org/mailman/listinfo/grass-user
> >>
> >>
> >>
> >> --
> >> Markus Neteler, PhD
> >> https://www.mundialis.de - free data with free software
> >> https://grass.osgeo.org
> >> https://courses.neteler.org/blog
>
>
>
> --
> Markus Neteler, PhD
> https://www.mundialis.de - free data with free software
> https://grass.osgeo.org
> https://courses.neteler.org/blog
>
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] RES: GRASS RDBMS

2023-03-24 Thread Thiago Statella
That´s it!

Thanks a lot Markus!

--
Dr. Thiago Statella, Professor Titular
Instituto Federal de Educação, Ciência e Tecnologia de São Paulo - IFSP
Campus Presidente Epitácio
http://lattes.cnpq.br/8559753273123798
https://sites.google.com/view/statella
https://orcid.org/-0002-8656-9147

De: Markus Neteler
Enviado:sexta-feira, 24 de março de 2023 07:03
Para: Thiago Statella
Cc:GRASS user list
Assunto: Re: [GRASS-user] GRASS RDBMS

Hi Thiago,

On Thu, Mar 23, 2023 at 8:26 PM Thiago Statella  wrote:
>
> Hi everyone,
>
> what is the RDBMS Grass uses by default?

The default attribute (!) data storage happens in a SQLite database
(default DB backend).

For an overview, see
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrass.osgeo.org%2Fgrass82%2Fmanuals%2Fsql.html&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355757136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=j3Ubh3TjOkGcPHs28Xb88kCcrJTPv2TwpYU1qNzTrtM%3D&reserved=0

The vector geometry is by default stored in files using the native
GRASS GIS topological vector format.

> Is there an option to choose a different one in the moment I create a 
> Location (using GUI)? Is it possible to set up PostGis to be the default?

So your aim is to also store the vector geometry in PostGIS?
Then please see

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrasswiki.osgeo.org%2Fwiki%2FPostGIS&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355767090%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9Bwh42ueXFjKXHL7kxDBv25uxVXY4AtqU%2B6A35tLNJk%3D&reserved=0

best,

Markus

> I’m using GRASS 8 with Windows 11.
>
> Thanks in advance!
>
>
> --
>
> Dr. Thiago Statella, Professor Titular
>
> Instituto Federal de Educação, Ciência e Tecnologia de São Paulo - IFSP
>
> Campus Presidente Epitácio
>
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flattes.cnpq.br%2F8559753273123798&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355767090%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aSF3JXVC4d3274Mf1De79xKeVOOzLKWaxuOA3usamHE%3D&reserved=0
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsites.google.com%2Fview%2Fstatella&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355777053%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FQpEntyAFD1IotKXnDaSgtUtkerNxlLrwdtZPXUzc3A%3D&reserved=0
>
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Forcid.org%2F-0002-8656-9147&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355777053%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lIPk3zNGUWNInmYfBZk7pITkiOmJevVzGWSn4GLC45w%3D&reserved=0
>
>
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355787011%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kIom2LbaxSBs5soG%2Bm2Y1bmJL3OUl2cej4kpifFtmJ0%3D&reserved=0



--
Markus Neteler, PhD
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mundialis.de%2F&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355787011%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=UQVOvMvwMiUlNyWVTp9%2FjUDgvh%2FxfNOY7%2Bgja%2BgZ7rw%3D&reserved=0
 - free data with free software
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgrass.osgeo.org%2F&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355787011%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=EMoTgopjxjKsugknYTyhTAjTxFHxiTUtfBbh2dpDMxQ%3D&reserved=0
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcourses.neteler.org%2Fblog&data=05%7C01%7C%7Ce51c793088a74cbd2e3208db2c4f1399%7C84df9e7fe9f640afb435%7C1%7C0%7C638152490355797642%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6tSQUKDuN5HM0zy50xrpPU40JsI5Vu7OtMjW69Ezmjs%3D&reserved=0

__

Re: [GRASS-user] GRASS RDBMS

2023-03-24 Thread Markus Neteler
Hi Thiago,

On Thu, Mar 23, 2023 at 8:26 PM Thiago Statella  wrote:
>
> Hi everyone,
>
> what is the RDBMS Grass uses by default?

The default attribute (!) data storage happens in a SQLite database
(default DB backend).

For an overview, see
https://grass.osgeo.org/grass82/manuals/sql.html

The vector geometry is by default stored in files using the native
GRASS GIS topological vector format.

> Is there an option to choose a different one in the moment I create a 
> Location (using GUI)? Is it possible to set up PostGis to be the default?

So your aim is to also store the vector geometry in PostGIS?
Then please see

https://grasswiki.osgeo.org/wiki/PostGIS

best,

Markus

> I’m using GRASS 8 with Windows 11.
>
> Thanks in advance!
>
>
> --
>
> Dr. Thiago Statella, Professor Titular
>
> Instituto Federal de Educação, Ciência e Tecnologia de São Paulo - IFSP
>
> Campus Presidente Epitácio
>
> http://lattes.cnpq.br/8559753273123798
>
> https://sites.google.com/view/statella
>
> https://orcid.org/-0002-8656-9147
>
>
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user



-- 
Markus Neteler, PhD
https://www.mundialis.de - free data with free software
https://grass.osgeo.org
https://courses.neteler.org/blog
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user