<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Have you tried a .csvt file for your .csv file? <a href="https://gdal.org/drivers/vector/csv.html" id="LPlnk964388">
https://gdal.org/drivers/vector/csv.html</a></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> grass-dev <grass-dev-bounces@lists.osgeo.org> on behalf of Michael Barton via grass-dev <grass-dev@lists.osgeo.org><br>
<b>Sent:</b> Wednesday, March 13, 2024 7:02 PM<br>
<b>To:</b> GRASS developers <grass-dev@lists.osgeo.org>; GRASS user list <grass-user@lists.osgeo.org><br>
<b>Subject:</b> [EXTERNAL] [GRASS-dev] vector patching frustration</font>
<div> </div>
</div>
<div style="line-break:after-white-space">
<p> </p>
<div>
<table border="2" cellspacing="4" cellpadding="0" style="border-color:black; background-color:yellow; margin-left:auto; margin-right:auto">
<tbody>
<tr>
<td>
<p style="text-align:center"><strong> This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.  </strong></p>
</td>
</tr>
</tbody>
</table>
</div>
<p><br>
<br>
</p>
<div>I am completely stymied in my attempt to do what should be a simple task. I have a map of vector areas, linked with an attribute table. I would like to patch in one more vector area, for which I have equivalent attribute information. I have tried this
 multiple ways and I cannot make this patch happen so that the added area has attribute info. 
<div><br>
</div>
<div>The closest I've come is to create and link a one line table to the new area that has exactly the same fields as the larger vector area map. The first map has 154 areas (i.e., cat=1-155). When I patch the maps and look at the resulting attribute table,
 I indeed see line and cat 155. But it is not linked with the patched area--which has been assigned a cat=183 for reasons I cannot fathom. The patch also renumbers my cat field to cat=2-155 from the original 1-154. </div>
<div><br>
</div>
<div>This has been made more complicated by the fact that v.in.ogr imports all columns of a *.csv as text, regardless of what is in them and assigns cat numbers starting at 1. So I can't specify an integer key field of 155 to try the linking. Nor can I change
 the assigned cat of the single area I am trying to patch from 1 to 155 using v.category (or anything else I can find). </div>
<div><br>
</div>
<div>I'm hoping that someone has a clever solution that I've not seen or I'll just have to do this fairly simple and straightforward vector operation in QGIS. </div>
<div><br>
</div>
<div>Michael<br>
<div>
<div dir="auto" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="color:rgb(0,0,0); letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div dir="auto" style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div style="text-align:start; text-indent:0px; word-wrap:break-word; line-break:after-white-space">
<div style="orphans:2; text-indent:0px; widows:2; word-wrap:break-word; line-break:after-white-space">
<span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><span class="x_Apple-style-span" style="border-collapse:separate; orphans:2; text-indent:0px; widows:2; border-spacing:0px">
<div style="word-wrap:break-word; line-break:after-white-space"><font>
<div style="letter-spacing:normal; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-variant-ligatures:normal; font-variant-east-asian:normal; line-height:normal">
<font color="#929292" face="Calibri" style="font-style:normal; font-size:11px">_____________________________</font></div>
<div style="font-variant-ligatures:normal; font-variant-east-asian:normal; line-height:normal">
<p style="margin-bottom:0in"><font color="#929292" face="Calibri" style="font-style:normal; font-size:11px"><font><span style="">C. Michael Barton<br>
Associate Director, School of Complex Adaptive Systems (</span></font><a href="https://scas.asu.edu/" originalsrc="https://scas.asu.edu/" shash="fDJSV7tlgilo4CD6K6lN6BfETsGxGmFWZMgwFXMM5Ns7FgCiI5TWeWlkUQadpUWMp5UWBHDdIaHVDioqfZZ2wsi3CLzeyQMGJsbKAk4u+PYElNPyL+zE1BLvNDtiTE9Ydl2dRIfpsoJmpSBDpkB7mRq+X/SPmptpYVECX499sTc=" style="">https://scas.asu.edu</a><font><span style="">)<br>
Professor, School of Human Evolution & Social Change (<a href="https://shesc.asu.edu/" originalsrc="https://shesc.asu.edu/" shash="zlM30zwEB7IGxTeUr9PejJvQ/HvGwHMEA+sWxbcgQiq8xXy9nvn/9lugHThutux9Hmc1JO3ucm4msw006qRWqHvjD9cnSgHhj8GOM2C4yokv3BpYJPOklJcmIDZij1bLqS/UlraN4EFuDGniPbEPSIpx/Ek7ZHF0x5GlQ/5shw0=">https://shesc.asu.edu</a>)<br>
Director, Center for Social Dynamics & Complexity (<a href="https://complexity.asu.edu/" originalsrc="https://complexity.asu.edu/" shash="S7pJNQVL6uVmtYPwlzrfLJA7a8rU2m42ih3kNr59eBtNGG2nzFe7vRxFT4sRIm6jq1rDSSpcETsTxnaTdRgsAwVBRii7gEND0G15JRBHfUBBv3uC8NYo0UChXH+YHYSUnzrCJc2V332wri0WLmOTxkWDMymi45LYGvOBpD+hkXw=">https://complexity.asu.edu</a>)<br>
Arizona State University<br>
Tempe, AZ 85287-2701<br>
USA<br>
<br>
Executive Director, Open Modeling Foundation (</span></font><a href="https://openmodelingfoundation.github.io/" originalsrc="https://openmodelingfoundation.github.io/" shash="UK+en2ZiOPI5VgdfN8pzrQiW0nVKQru/rvs0vlV6obuyWmF1U9qksiUOZtZ8LIOGOa9SY2/jwKCcBERQZJZ+0/Ddq3nWarqpoctotHp6Zxm8vEiIrXmFCn/nlzKlkHzpO/XeUfTzNtcEct3y8weqV8nTuf68kn0iLqv8OIEI2dY=" style="">https://openmodelingfoundation.github.io</a><font><span style="">)<br>
Director, Network for Computational Modeling in Social & Ecological Sciences (<a href="https://comses.net/" originalsrc="https://comses.net/" shash="afVEDA5J38zg44674nkKzztJ073GFEfiazZVKSdDAaTsvHXsWq9auAlk+82BdcQVW5JQQ6qckh2M1km5f8b0hhHALDMuRc55qHSVoipvXwhcoE62SRw1G0nt6aaXKhdvKKBbfOW2OiwVO/k0J4ix8WoDap/7q9IkRAye7Z1Tk3A=">https://comses.net</a>)<br>
<br>
personal website: <a href="http://www.public.asu.edu/~cmbarton" originalsrc="http://www.public.asu.edu/~cmbarton" shash="HaZPTiCJC/b4peQvqJy5T98dpicFMncBNo4PE6g/yJZigk0cp6/mjt9IG0q4whJgq6el6oeTwIcXVRRiE8EhujfAFY+Z/pBSopUtwF6Is2PewcVwq4ohZE4X0KMNnMUvfNDrdDF0E9T0v1HKFt/BSzpII3+PreQYROzxYehZeyc=">http://www.public.asu.edu/~cmbarton</a> <br>
</span></font></font><br>
</p>
</div>
</font></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></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>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</body>
</html>