New answers tagged

1 vote

Filling field with values from field of another table using QGIS

With an expression you can update an existing field. Select "Update existing field" in the Field calculator. If you want to select the buildings to update, you can also tick on "Only ...
Gabriel De Luca's user avatar
1 vote

Filling field with values from field of another table using QGIS

If you are fine with using PyQGIS in the console, you could do the following steps: SETTING For this example you have in the plot layer (source) a field called sourceField and in the building layer (...
Xeppit's user avatar
  • 1,268
2 votes

Add attribute to a point it shares line segment with in QGIS

SETTING In the field calculator for each layer Point_A and Point_B create a new field "LineID" with the fowlling expression: overlay_nearest('Line', $id, max_distance:=0.0001)[0] 'Line' is ...
Xeppit's user avatar
  • 1,268
1 vote
Accepted

How to union two polygon shapefiles by one or more attribute fields in QGIS

Given that your two layers presumably have the same attributes, you can just copy and paste: Edit -> Select -> Select All Features Edit -> Copy Features (Ctrl-C on Windows) Switch to other ...
Tom Brennan's user avatar
  • 4,407
2 votes

How to union two polygon shapefiles by one or more attribute fields in QGIS

You can use SQL with UNION operator. If you can have duplicate records, you should use UNION ALL, or the duplicates are dropped. SELECT * FROM "LayerA" UNION SELECT * from "LayerB" ...
BERA's user avatar
  • 71.3k
0 votes

Getting an empty Python geodataframe while I perform spatial join operation on - polyline/line and points

My guess is that the point is not exactly on the line. If you havent set the XY Tolerance , it should be 0.001 in ArcGIS, so if the point is off by 0.0001 ArcGIS considers it on the line. Maybe ...
BERA's user avatar
  • 71.3k
0 votes
Accepted

Joining by attribute using Fuzzywuzzy module (Python Script)

There is only one error - the RuntimeError which occurs when you call arcpy.da.NumPyArrayToTable on line 47 of your script. The output table 'I:\Housing\2020 Housing Contacts & Permits\...
user2856's user avatar
  • 65.4k
4 votes
Accepted

Join Field does not work properly I end up getting Null

I downloaded the data from your link, and tested it on QGIS 3.28.11; I have encountered no errors. My suggestions are: Please note, that the file PORT_AT_2009 has 2201 records, 1826 of which have ...
crafter6029's user avatar

Top 50 recent answers are included