On Thu, Mar 14, 2019 at 11:31 PM Nikos Alexandris <n...@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
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user