<div dir="ltr">Hi,<div><br></div><div>I have created a point vector from a coastline using v.to.points:</div><div><br></div><div>v.to.points input=CanCoast_Shoreline  type=line output=CanCoast_Shoreline_<wbr>points use=vertex --v </div><div><br></div><div>This works fine, and the next thing I want to do is upload raster slope values from a DEM to the attribute table of the points vector using v.what.rast, but I get tons of warnings like these:</div><div><br></div><div>WARNING: Multiple points (12) of category 16, value set to 'NULL'<br></div><div><br></div><div>I assume this is telling me the points have duplicate categories? </div><div><br></div><div>So to get around this, I tried recreating the points, this time without an attribute table, using v.to.points -t, then adding the table and categories manually:</div><div><br></div><div><div>v.to.points input=CanCoast_Shoreline  type=line output=CanCoast_Shoreline_<wbr>points use=vertex -t --v --o</div></div><div>v.db.addtable map=CanCoast_Shoreline_points columns="Slope_percent integer"<br></div><div>v.category input=CanCoast_Shoreline_<wbr>points option=add output=CanCoast_Shoreline_<wbr>points_with_cat</div><div><br></div><div>But running v.what.rast still gives me the same error as before.</div><div><br></div><div>I ran v.categories in report mode to see what is going on:</div><div><br></div><div><div>v.category input=CanCoast_Shoreline_<wbr>points_with_cat option=report</div><div>Layer/table: 1/CanCoast_Shoreline_points_<wbr>with_cat</div><div>type       count        min        max</div><div>point     105427          1       1692</div><div>line           0          0          0</div><div>boundary       0          0          0</div><div>centroid       0          0          0</div><div>area           0          0          0</div><div>face           0          0          0</div><div>kernel         0          0          0</div><div>all       105427          1       1692</div><div>Layer: 2</div><div>type       count        min        max</div><div>point     105427          1     105427</div><div>line           0          0          0</div><div>boundary       0          0          0</div><div>centroid       0          0          0</div><div>area           0          0          0</div><div>face           0          0          0</div><div>kernel         0          0          0</div><div>all       105427          1     105427</div></div><div><br></div><div>Where did the two layers come from? I thought v.to.points -t *wasn't* supposed to make an attribute table. And the fact that the 'max' value reported above is '1692' seems to be a hangover from the line features they were created from. </div><div><br></div><div>In this case, I don't care about the IDs or categories of the lines the points originated from; I want unique categories for the 105427 points that were made so I can then successfully run v.what.rast and upload my DEM slope values.</div><div><br></div><div>It's been a while since I've used these tools, so I'm a little rusty. Is there a way to do this?</div><div><br></div><div><br></div><div>~ Eric.</div></div>