[GRASS-dev] GRASS 7 r.what introduces duplicates

Hi,

When I used r.what in GRASS 7 on Ubuntu 12.04 LTS (64bit) it introduced duplicates (in my two cases it duplicated the last line of output).

Can it be a problem of my installation or shall I file a ticket?

Cheers

Stefan

On 20 January 2014 19:13, Blumentrath, Stefan
<Stefan.Blumentrath@nina.no> wrote:

Hi,

Hi,

When I used r.what in GRASS 7 on Ubuntu 12.04 LTS (64bit) it introduced
duplicates (in my two cases it duplicated the last line of output).

Can it be a problem of my installation or shall I file a ticket?

I think it is your problem, I have no problem with GRASS7 r58751.

nc_spm_08 dataset

GRASS 7.0.svn (nc_spm_08):~ > r.what map=elevation coo=631000,228400
631000|228400||137.0444

Cheers

Stefan

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

Hi Luca,

Thanks for your reply. I investigated a bit more and suspect the problem arises from the "points" option which I used....
When I extract the coordinates from my vector map and feed them as a list to the "coordinates" option I get the correct number of lines from r.what (like you did). But when I use the same file directly in the points option the last line is duplicated (using r 58048 btw.).

Cheers
Stefan

-----Original Message-----
From: Luca Delucchi [mailto:lucadeluge@gmail.com]
Sent: 21. januar 2014 00:10
To: Blumentrath, Stefan
Cc: GRASS developers list (grass-dev@lists.osgeo.org)
Subject: Re: [GRASS-dev] GRASS 7 r.what introduces duplicates

On 20 January 2014 19:13, Blumentrath, Stefan <Stefan.Blumentrath@nina.no> wrote:

Hi,

Hi,

When I used r.what in GRASS 7 on Ubuntu 12.04 LTS (64bit) it
introduced duplicates (in my two cases it duplicated the last line of output).

Can it be a problem of my installation or shall I file a ticket?

I think it is your problem, I have no problem with GRASS7 r58751.

nc_spm_08 dataset

GRASS 7.0.svn (nc_spm_08):~ > r.what map=elevation coo=631000,228400
631000|228400||137.0444

Cheers

Stefan

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

On 21 January 2014 00:42, Blumentrath, Stefan
<Stefan.Blumentrath@nina.no> wrote:

Hi Luca,

Hi Stefan,

Thanks for your reply. I investigated a bit more and suspect the problem arises from the "points" option which I used....
When I extract the coordinates from my vector map and feed them as a list to the "coordinates" option I get the correct number of lines from r.what (like you did). But when I use the same file directly in the points option the last line is duplicated (using r 58048 btw.).

Yes you are right, please open a ticket...

Cheers
Stefan

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org

On Tue, Jan 21, 2014 at 12:50 AM, Luca Delucchi <lucadeluge@gmail.com> wrote:

On 21 January 2014 00:42, Blumentrath, Stefan
<Stefan.Blumentrath@nina.no> wrote:

Hi Luca,

Hi Stefan,

Thanks for your reply. I investigated a bit more and suspect the problem arises from the "points" option which I used....
When I extract the coordinates from my vector map and feed them as a list to the "coordinates" option I get the correct number of lines from r.what (like you did). But when I use the same file directly in the points option the last line is duplicated (using r 58048 btw.).

Yes you are right, please open a ticket...

Fixed in trunk r58752.

Markus M

Cheers
Stefan

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Wow, fixed before I managed to open a ticket!
Thank you very much Markus!

-----Original Message-----
From: Markus Metz [mailto:markus.metz.giswork@gmail.com]
Sent: 21. januar 2014 08:40
To: Luca Delucchi
Cc: Blumentrath, Stefan; GRASS developers list (grass-dev@lists.osgeo.org)
Subject: Re: [GRASS-dev] GRASS 7 r.what introduces duplicates

On Tue, Jan 21, 2014 at 12:50 AM, Luca Delucchi <lucadeluge@gmail.com> wrote:

On 21 January 2014 00:42, Blumentrath, Stefan
<Stefan.Blumentrath@nina.no> wrote:

Hi Luca,

Hi Stefan,

Thanks for your reply. I investigated a bit more and suspect the problem arises from the "points" option which I used....
When I extract the coordinates from my vector map and feed them as a list to the "coordinates" option I get the correct number of lines from r.what (like you did). But when I use the same file directly in the points option the last line is duplicated (using r 58048 btw.).

Yes you are right, please open a ticket...

Fixed in trunk r58752.

Markus M

Cheers
Stefan

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On Tue, Jan 21, 2014 at 9:02 AM, Blumentrath, Stefan
<Stefan.Blumentrath@nina.no> wrote:

Wow, fixed before I managed to open a ticket!

You can open a ticket to backport the fix if it is working for you.
The fix itself is trivial.

Markus M

Thank you very much Markus!

-----Original Message-----
From: Markus Metz [mailto:markus.metz.giswork@gmail.com]
Sent: 21. januar 2014 08:40
To: Luca Delucchi
Cc: Blumentrath, Stefan; GRASS developers list (grass-dev@lists.osgeo.org)
Subject: Re: [GRASS-dev] GRASS 7 r.what introduces duplicates

On Tue, Jan 21, 2014 at 12:50 AM, Luca Delucchi <lucadeluge@gmail.com> wrote:

On 21 January 2014 00:42, Blumentrath, Stefan
<Stefan.Blumentrath@nina.no> wrote:

Hi Luca,

Hi Stefan,

Thanks for your reply. I investigated a bit more and suspect the problem arises from the "points" option which I used....
When I extract the coordinates from my vector map and feed them as a list to the "coordinates" option I get the correct number of lines from r.what (like you did). But when I use the same file directly in the points option the last line is duplicated (using r 58048 btw.).

Yes you are right, please open a ticket...

Fixed in trunk r58752.

Markus M

Cheers
Stefan

--
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev