Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-11-07 Thread Daniel Victoria
I was traveling so could not respond. So sorry to chime in a bit late. For me it was a bit counter intuitive that polygons with null attributes became zero in the finished raster. What if I had attributes with zero value in it? I liked the idea of issuing a warning and using the `where`

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-11-01 Thread Micha Silver
On 01/11/2019 9:38, Markus Metz wrote: On Fri, Nov 1, 2019 at 12:11 AM Veronica Andreo wrote: > > Hi Micha > > El jue., 31 oct. 2019 a las 22:36, Micha Silver

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-11-01 Thread Markus Metz
On Fri, Nov 1, 2019 at 12:11 AM Veronica Andreo wrote: > > Hi Micha > > El jue., 31 oct. 2019 a las 22:36, Micha Silver () escribió: >> >> >> On 31/10/2019 22:20, Markus Metz wrote: >> >> >> >> On Tue, Oct 29, 2019 at 7:40 PM Veronica Andreo wrote: >> > >> > Hi Daniel, >> > >> > I agree that if

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-10-31 Thread Veronica Andreo
Hi Micha El jue., 31 oct. 2019 a las 22:36, Micha Silver () escribió: > > On 31/10/2019 22:20, Markus Metz wrote: > > > > On Tue, Oct 29, 2019 at 7:40 PM Veronica Andreo > wrote: > > > > Hi Daniel, > > > > I agree that if there's a NULL in the column, there should be NULL in > the resulting

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-10-31 Thread Micha Silver
On 31/10/2019 22:20, Markus Metz wrote: On Tue, Oct 29, 2019 at 7:40 PM Veronica Andreo wrote: > > Hi Daniel, > > I agree that if there's a NULL in the column, there should

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-10-31 Thread Markus Metz
On Tue, Oct 29, 2019 at 7:40 PM Veronica Andreo wrote: > > Hi Daniel, > > I agree that if there's a NULL in the column, there should be NULL in the resulting raster. I suggest to open a ticket here: https://trac.osgeo.org/grass/ easy solution: v.to.rast where=" is not null" or the new PR #173

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-10-31 Thread Markus Metz
On Tue, Oct 29, 2019 at 7:40 PM Veronica Andreo wrote: > > Hi Daniel, > > I agree that if there's a NULL in the column, there should be NULL in the resulting raster. I suggest to open a ticket here: https://trac.osgeo.org/grass/ that would require to change db_select_CatValArray on library level

Re: [GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-10-29 Thread Veronica Andreo
Hi Daniel, I agree that if there's a NULL in the column, there should be NULL in the resulting raster. I suggest to open a ticket here: https://trac.osgeo.org/grass/ Cheers, Vero El jue., 24 oct. 2019 a las 14:40, Daniel Victoria (< daniel.victo...@gmail.com>) escribió: > Hi list, > > I have a

[GRASS-user] Null values in attribute table get converted to 0 (zero) during v.to.rast

2019-10-24 Thread Daniel Victoria
Hi list, I have a vector polygon map that I'm converting to raster. The attribute column that I process has some empty rows (no data / null). When I run v.to.rast, these empty rows become 0 (zero) on my resulting raster map. Shouldn't v.to.rast respect the empty attribute table and create null