[OSGeo Africa] QGIS Field Calculator - attributes for 2 layers

Zoltan Szecsei zoltans at geograph.co.za
Thu Jul 7 08:55:33 PDT 2016

Hi Everyone,
Maybe someone can give me a prod in the right direction?

I have two Shape files (both polygons).
I'm trying to copy an attribute field value from B.shp into A.shp, using 
Lon and Lat from two of A.shp attribute fields to select the relevant 
polygon's attribute in B.shp.

In other words:

    A.shp attribute fields are:  "Name", "Longitude" and "Latitude"
    B.shp attribute field is "Name"

Using the LatLong coords in the attribute fields of A.shp, I want to 
select a polygon in B.shp, and write that polygons "Name" contents into 
this A.shp's "Name" field.

Is the field calculator up for this?
I've been trying to find ways of reference fields in separate maps 
(layers), but neither Google or I are winning at this.

Regards, and TIA,


Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:    +27-86-6115323     www.geograph.co.za

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20160707/5b364324/attachment.html>

More information about the Africa mailing list