Sunday, 7 January 2018

qgis - Spatial join geotagged images to preexisting point shapefile?




I have a layer of geotagged images (points with jpg thumbnail attachment), and another layer of different points (shapefile with various attributes). I would like to perform a spatial operation in which the jpg thumbnail from the geotagged image layer gets added to the attribute table of the closest point in the other layer. I've tried spatial join but I'm not sure that I am doing it correctly. Any ideas?



Answer



The spatial join in QGIS seems to have a problem when joining 2 point geometries. A plug-in called NNJoin can handle any geometry combinations and can perform a join on nearest neighbour rather than on intersection.


It doesn't offer any options for choosing which attributes to join however, so you may have to manually delete some columns if you only want the one column


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...