<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 19, 2021 at 10:24 AM Veronica Andreo <<a href="mailto:veroandreo@gmail.com">veroandreo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>[bringing the issue back to the list for reference]</div><div><br></div><div>Dear Luis, <br></div><div><br></div><div>Thanks for your feedback! <br></div><div><br></div><div>If you didn't provide a column name, and the module didn't fall back to the cat column as it is supposed to, please report it as a bug (ideally with a reproducible example). According to the manual and my very little understanding of the c code, it should.</div></div></div></blockquote><div><br></div><div>Vero is right, I tested it and it does work as the manual describes, using the values of categories in your case. </div><div><br></div><div>Anna</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>All the best, <br></div><div>Vero<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El lun, 19 abr 2021 a las 16:00, Luí­s Moreira de Sousa (<<a href="mailto:luis.de.sousa@protonmail.ch" target="_blank">luis.de.sousa@protonmail.ch</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi Vero,<br></div><div><br></div><div>from what I understand the module is seeking neither the value column, not the cat column. This map was created with r.to.vect, these are its attributes:<br></div><div><br></div><div>> <a href="http://v.info" target="_blank">v.info</a> -c soil_map_rcl_no_water<br></div><div>Displaying column types/names for database connection of layer <1>:<br></div><div>INTEGER|cat<br></div><div>INTEGER|value<br></div><div>CHARACTER|label<br></div><div><br></div><div>If v.surf.idw was indeed seeking the cat column I would expect the module to succeed with this input, producing a nice Voronoi map. <br></div><div><br></div><div>My suggestion would be to explicitly reference the name of the default column/attribute in the manual.<br></div><div><br></div><div>Thank you.<br></div><div> </div><div><div><div><br></div><div>-- <br></div><div>Luís<br></div><div><br></div></div></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Monday, April 19, 2021 1:56 PM, Veronica Andreo <<a href="mailto:veroandreo@gmail.com" target="_blank">veroandreo@gmail.com</a>> wrote:<br></div><div> <br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Dear Luis, <br></div><div><br></div></div><div><br></div><div class="gmail_quote"><div dir="ltr">El lun, 19 abr 2021 a las 8:45, Luí­s Moreira de Sousa via grass-user (<<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Dear Anna,<br></div><div><br></div><div>thank you for the reply, indeed once I added the column parameter the module completed successfully. The manual includes the following on this parameter:<br></div><div><br></div><div>       column=name<br></div><div>           Name of attribute column with values to interpolate<br></div><div>           If not given and input is 2D vector map then category values are used. If input is 3D vector<br></div><div>           map then z-coordinates are used.<br></div><div><div><div><br></div><div>If I read that correctly, the module should pick up the "value" column by defualt. This particular layer was created by GRASS itself and includes a "value" column:<br></div></div></div></blockquote><div><br></div><div>I might be biased, but the description is clear to me: provide the name of a column that contains the values/quantities that will be used to interpolate.  If you do not provide a column name, cat will be used (i.e., the IDs) in a 2D vector, or the z column in a 3D vector. <br></div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div><br></div></div></div><div>>  <a href="http://v.info" target="_blank">v.info</a> -c soil_map_rcl_no_water<br></div><div>Displaying column types/names for database connection of layer <1>:<br></div><div>INTEGER|cat<br></div><div>INTEGER|value<br></div><div>CHARACTER|label<br></div><div><br></div><div>It is now clear this is not the case, `v.surf.idw` is seeking another column by default, one that is not created by vector creating modules.<br></div></blockquote><div><br></div><div>It does not seek for another column, it defaults to cat if you do not provide a column name where the variable you want to interpolate is.  It would be annoying, IMO, if I was forced to name a column `value` just because a module only takes that name. Also, there might be many columns with quantities/values in the attr table of a vector. How is the module supposed to know which one to use, if the user does not provide a name?<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Perhaps this could be made more explicit in the manual page.<br></div></blockquote><div><div><br></div><div>Maybe the fact that value appears in the description and your column is called value triggered the confusion? <br></div><div>We really appreciate any suggestions on how to improve the wording to make it clearer.<br></div><div><br></div><div>Best, <br></div><div>Vero<br></div><div><br></div><div><br></div></div></div></div></blockquote><div><br></div></blockquote></div></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div></div>