I'm looking to be able to update a value by its nearest polygon.
The below image shows polygons in green where the column roadclass = 'A' and shows polygons where column roadclass IS NULL in brown.
I'm manually selecting and updating these currently so would like to automate it if possible.
I'm keen to learn but I've not used python before in QGIS so please consider this in any response. Also if useful the layer is stored within a PostGIS database and I'm using QGIS 3.6.