[GRASS-user] raster pixel value
Markus Metz
markus.metz.giswork at gmail.com
Fri Mar 15 14:16:17 PDT 2019
On Thu, Mar 14, 2019 at 11:31 PM Nikos Alexandris <nik at nikosalexandris.net>
wrote:
>
> Markus Metz:
>
> >>With r.stats -x, indexing starts with 1 (first row is 1).
> >>With gdallocationinfo, indexing starts with 0 (first row is 0).
>
> I wonder if `-0` flag would make sense to be GDAL-compliant.
Note that the internal variables row() and col() of r.mapcalc also use
indices starting with 1. As long as the indexing is properly documented, I
don't see a problem. The r.stats manuals have been updated in trunk r74267
and relbr76 r74268. Maybe a PR for the documentation of gdallocationinfo is
needed?
Markus M
> I created a Pull Request (in `grass-ci`) for a minor update in the manual.
>
> Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190315/502a1222/attachment.html>
More information about the grass-user
mailing list