Hi,

I am trying to add some metadata (angles and quality indices) to a Sentinel 
raster map (https://github.com/OSGeo/grass-addons/pull/53).

That works in principle fine, but unfortunately, the stored meta information is 
not really reusable, because r.info -e seems to remove all line breaks from the 
comments. Thus, all meta information is returned in one long string. Would it 
be possible to maintain line breaks that are in the comments?

In r.info without e-flags line breaks seem to be preserved. However new ones 
are introduced (I guess depending on the length of the line, but that actually 
varies quite a bit), so output looks a bit messy...

The issue seems to be somewhere here: 
https://github.com/OSGeo/grass/blob/master/raster/r.info/main.c#L497
Should I open a ticket?

Cheers
Stefan

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

Reply via email to