<html><head></head><body><div class="ydpd1ef1e8fyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">Hi Magnus,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">This is the correct place for asking your questions.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>If you have a unique identifier you can join your altered Excel file to your original geometry file. From the Layer Properties of the layer with geometry choose "Joins" and click the green plus sign in the bottom left. Then choose the Excel file and the unique ID that will create the match between both files</span>. You can see the results from the attribute table of the geometry file. This will be similar to a left join, showing nulls for rows that do not join to the geometry. Once you have the join <br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">If that doesn't work, the easiest is to export as a CSV with the geometry. If your geometry is more than points, under the Layer Options I recommend exporting GEOMETRY "AS_WKT" (well known text, wikipedia has a good explanation). After making your changes, you will then import the file using the Delimited Text setting in Data Source Manager.<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">My understanding is that there is not a database running in the background, but QGIS does use SpatiaLite syntax for doing expressions, etc..<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">As you are good with SQL, I would recommend that you move your data into a spatial database, e.g. PostgreSQL with PostGIS extension or SQLite with SpatiaLite (single file database). After installing the software you would create a database, and create the spatial extension in the database from the command line (see the directions on PostGIS.net, etc.). Then in QGIS you can connect to the database from the "Browser" panel for the type of database you created. You can then use the "Database Manager" in QGIS to import the data, or shp2pgsql etc.. You can also use Database Manager to query the data and add those queries to the map, just remember to have a unique ID and a geometry column.   <br></div><div><br></div><div dir="ltr" data-setdir="false">If you need further help with any of this please write back to the listserve. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">The documentation can be found here if you want more detail than I have provided:</div><div dir="ltr" data-setdir="false"><a href="https://docs.qgis.org/3.28/en/docs/user_manual/" rel="nofollow" target="_blank">https://docs.qgis.org/3.28/en/docs/user_manual/</a></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">-Thayer</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div>
        
        </div><div id="ydp63014468yahoo_quoted_8267307827" class="ydp63014468yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><br><div dir="ltr" data-setdir="false"> <div>> Date: Sun, 6 Nov 2022 20:22:36 +0100<br>> From: Magnus MacHale-Gunnarsson <mejl@magnusgunnarsson.se><br>> To: Qgis-user@lists.osgeo.org<br>> Subject: [Qgis-user] Exporting, processing and re-importing<br>> Message-ID: <25397FD7-1812-4344-8FE3-03E8A5DB1E48@magnusgunnarsson.se><br>> Content-Type: text/plain;    charset=utf-8<br>> <br>> Hello.<br>> <br>> (I?m not at all certain this is the right forum for this question, so apologies if it isn?t and please point me to a better forum.)<br>> <br>> I?m using QGIS 3.26.6 Buenos Aires on MacOS Ventura 13.0.<br>> <br>>I have a layer with lots of shapes, and I need to add a field or two, to some of the objects. I could do that in QGIS, but the interface is awkward if you have a few hundred objects to go through, so I?d like to export the data, group and filter as I like, and then re-import the processed file into QGIS.<br>> <br>>1. Can I export just the attributes table, do the processing, and reimport? If so, how  do I connect the reimported attributes to the objects? Will the reimported attributes table clash with the existing one?<br>> <br>> 2. Or is it better to export the attributes WITH the coordinates? Which format is suitable for that? (I find row-based formats like csv or Excel easiest, but that is not too important.) I tried exporting to Excel, with ?Geometry? checked, but when I tried to re-import that file again the coordinates were not included.<br>> <br>> 3. I understand there is a relational database in the background. I?m very used to SQL. Is it better to work directly with that database, and not worry about importing and exporting? How do I access it?<br>> <br>>   MagnusMG</div><div><br></div><div dir="ltr"><br></div></div>
            </div>
        </div></body></html>