This is a tricky one. A little context first: Bentiu wiki page: https://en.wikipedia.org/wiki/Bentiu + OSM map of Bentiu refugee camp, South Sudan: http://www.openstreetmap.org/#map=16/9.3314/29.7920 My task is to come up with a map of the dwellings and the facilities in the camp, each with their corresponding address. For this I have (1) a schematic grid of the address system (.pdf), (2) indications on how the address system works (start numbering the buildings from the NW corner to W then S), and (3) the .shp of the individual houses and buildings extracted from aerial imagery analysis. Problems: (a) while the grid assumes that buildings are perfectly-aligned squares, the shp shows different shapes of dwellings that partially follow the spatial organisation set up for the address system; ( the drawing and the numbering are currently being used for healthcare provision and cannot be modified to fit the structure of the dwellings. So far I have tried a couple of tricks unsuccessfully, mainly because the drawing is only a representation therefore cannot be georeferenced. I tried to assign every house in the .shp a number with $rownum but this did not work either because the order was not respected. I'm more than willing to discuss any ideas!