2

I have a vector layer of points - say, rooms for rent in a city. Definitely, several rooms are up for rent in one building, so these would share the same coordinates. I need all my rooms to have unique coordinates (say, rooms 1 and 2 in the same building just a few meters apart), so I try points displacement.

Points displacement seems to work visually, but how will I get the new coordinates of the displaced points? "Add geometry column" still exports the original coordinates.

/Edit: I just learned the term, so: what I want is to get the coordinates of the digitized points. I end up with a ring of points (rooms) around the original point (building), but the coordinates of those rooms still end up the same as the original building.

3

There are two point displacement options, one is the renderer Point Displacement, found in the Styles tab, and the other is the geoprocessing Points Displacement, found in the Processing Toolbox.

First one will be just a visual change, the second one will be permanent (but not on the original data, you save your changes to a new layer). Use the second one, and you should have your new coordinates.

  • The Points Displacement in the Processing Toolbox is what I use; then what? The new layer doesn't have new coordinates in the attributes table, and adding geometries still produces the same coordinates. – Jill Adona Jan 18 '18 at 5:09
  • Is Points Displacement working in QGIS 2.18? – Simbamangu Jan 18 '18 at 10:34
  • @JillAdona Oh, sorry for assuming otherwise. You mention attribute table, but that won't necessarily reflect the new coordinates. When you use Points Displacement, does it visually change your points? If so, what coordinates do you get for each with, say, the getWkt plugin? – Roberto Ribeiro Jan 18 '18 at 10:56
  • @Shimbamangu Yes, it still works. – Roberto Ribeiro Jan 18 '18 at 10:56
  • @RobertoRibeiro Yes, it does visually change my points - when I hover over the new points I see new coordinates at the bottom right of my screen. Then I use Export/Add geometry column, but the coordinates I get for each observation are still the same as the original building. I'll check the plugin you mentioned! – Jill Adona Jan 19 '18 at 1:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.