Hello Michael, do you mean that you cannot assign a different cat number to the specific area you added, i.e. it has a cat number assigned ? I guess you tried the "sum" option of v.category.
But are you sure that the new area actually has a category attached to ? (else you could achieve it with v.edit and its "catadd" tool, knowing the record number of the feature you want to cat). Hope I understood your issue, Vincent. Le mercredi 13 mars 2024 à 23:02 +0000, Michael Barton via grass-dev a écrit : > 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. > > 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. > > 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). > > 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. > > Michael > _____________________________ > C. Michael Barton > Associate Director, School of Complex Adaptive > Systems (https://scas.asu.edu) > Professor, School of Human Evolution & Social > Change (https://shesc.asu.edu) > Director, Center for Social Dynamics & > Complexity (https://complexity.asu.edu) > Arizona State University > Tempe, AZ 85287-2701 > USA > > Executive Director, Open > Modeling Foundation (https://openmodelingfoundation.github.io) > Director, Network for Computational Modeling in Social & Ecological > Sciences (https://comses.net) > > personal website: http://www.public.asu.edu/~cmbarton > > > _______________________________________________ > grass-dev mailing list > grass-...@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user