<div dir="ltr"><div>Hi,</div><div>I'm trying to extract the outlet location from the </div><div>r.stream.extract stream_vector=stream attribute. <br></div><div>In particular the manual for r.stream.extract reports:</div><div><br></div><div>"In layer 2, categories are identical to type_code in layer 1 with additional category 2 = outlet for outlet points."</div><div><br></div><div>I want to be able to extract only the points of layer 2 where category = 2. <br></div><div>However when I run </div><br clear="all"><div>v.db.connect -p map=stream <br>Vector map <stream> is connected by:<br>layer <1/stream> table <stream> in database </tmp/grass7-ga254-12721/tmploc/PERMANENT/sqlite/sqlite.db> through driver <sqlite> with key <cat><br></div><div><br></div><div>I can see only layer 1 (which does not contain category 2). </div><div><br></div><div>Is there a way to connect to layer 2?</div><div>How I can be sure that also layer 2 has been created and is not missing?</div><div>Thanks <br></div><div>Giuseppe </div><div><br></div><div>GRASS 7.6.0 (tmploc):/gpfs/scratch60/fas/sbsc/ga254/dataproces/MERIT_HYDRO > <a href="http://v.info">v.info</a> map=stream <br> +----------------------------------------------------------------------------+<br> | Name: stream |<br> | Mapset: PERMANENT |<br> | Location: tmploc |<br> | Database: /tmp/grass7-ga254-25033 |<br> | Title: |<br> | Map scale: 1:1 |<br> | Name of creator: ga254 |<br> | Organization: |<br> | Source date: Thu Apr 23 14:42:51 2020 |<br> | Timestamp (first layer): none |<br> |----------------------------------------------------------------------------|<br> | Map format: native |<br> |----------------------------------------------------------------------------|<br> | Type of map: vector (level: 2) |<br> | |<br> | Number of points: 250905 Number of centroids: 0 |<br> | Number of lines: 245570 Number of boundaries: 0 |<br> | Number of areas: 0 Number of islands: 0 |<br> | |<br> | Map is 3D: No |<br> | Number of dblinks: 1 |<br> | |<br> | Projection: Latitude-Longitude |<br> | |<br> | N: 77:06:40.5N S: 73:10:55.5N |<br> | E: 158:07:46.5E W: 135:26:34.5E |<br> | |<br> | Digitization threshold: 0 |<br> | Comment: |<br> | |<br> +----------------------------------------------------------------------------+<br><br></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Giuseppe Amatulli, Ph.D.<br><br>Research scientist at<br><span>School of Forestry & Environmental Studies<br></span><span>Center for Research Computing</span><br>Yale University</div><div>New Haven, CT, USA</div><div>06511<br><div>
Teaching: <a href="http://spatial-ecology.net" target="_blank">http://spatial-ecology.net</a></div>
Work: <a href="https://environment.yale.edu/profile/giuseppe-amatulli/" target="_blank">https://environment.yale.edu/profile/giuseppe-amatulli/</a> <br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>