Hi,
I am not in front of my computer so it’s difficult for me to test the r.report
functions. I see they have various flags
-h
Suppress page headers
-f
Use formfeeds between pages
-e
Scientific format
I see you can suppress some information like the header and probably some
information at th
Thanks, Nicolas. @Igor, that might be worth submitting to the GRASS team.
Kind of absurd to have to parse text files like that in this day and age.
Sorry for the soapbox. ;-)
Ari
On Tue, Jan 18, 2022 at 8:05 PM Nicolas Cadieux
wrote:
> Hi,
>
> Probably but this would be a Grass request.
>
> Nic
Hi Nicolas,
thanks for your help. So, I don't know how to use python in QGIS. I know R
and Matlab programming, but not about python. Please, see attached my model
in QGIS. I would like to insert after each r.report box a conversion of the
output file from txt to csv. Do you think it's possible?
On
Hi,
Probably but this would be a Grass request.
Nicolas Cadieux
https://gitlab.com/njacadieux
> Le 18 janv. 2022 à 20:14, Ari Meyer a écrit :
>
>
> Just a question, given the discussion here. Shouldn't such a report be
> generated in a structured format like YAML/JSON/XML for easier pars
Hi again,
If you ever want to use python, I have a python script that uses Gdal info to
create .csv. If you need it, I could put it on my gitlab page.
Nicolas Cadieux
https://gitlab.com/njacadieux
> Le 18 janv. 2022 à 19:40, Nicolas Cadieux a
> écrit :
>
> Hi,
> The r.report is a rather co
Just a question, given the discussion here. Shouldn't such a report be
generated in a structured format like YAML/JSON/XML for easier parsing?
Would this merit an enhancement request?
Ari
On Tue, Jan 18, 2022 at 6:54 PM chris hermansen
wrote:
> Nicolás, Igor and list,
>
> On Tue, Jan 18, 2022,
Nicolás, Igor and list,
On Tue, Jan 18, 2022, 16:40 Nicolas Cadieux
wrote:
> Hi,
> The r.report is a rather complicated text file that contains a lot of
> characters made for improving the look of the output. On way could be to
> python your way thought it so that is can find your way to the pr
Hi,
The r.report is a rather complicated text file that contains a lot of
characters made for improving the look of the output. On way could be to
python your way thought it so that is can find your way to the proper
information. This would save time if you have lots of files.
The faster way
Hi,
I have been using qgis version 3.10 and 3.16. I've been using the r.report
tool to extract some data from a raster. Currently, the report is generated
from r.report in *.txt format. I would like to know if it is possible to
convert this format to csv/xls, within QGIS?
--
See our last paper: