[Qgis-user] perturb point locations

Luigi Pirelli luipir at gmail.com
Wed Jan 27 06:58:37 PST 2016


would be this plugin [1] useful for you?

you can find it in public plugin repo

[1] https://github.com/SpatialVision/differential_privacy

Luigi Pirelli

**************************************************************************************************
* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**************************************************************************************************


On 27 January 2016 at 15:51, Richard Males <rbmales at gmail.com> wrote:
> I would like to perturb all the point locations on a layer by a random
> amount within a range,  from say 100 feet to 500 feet.   Each point should
> be individually perturbed with different values for the x and y, but the
> overall perturbation range will be the same for the layer.   The purpose is
> to obfuscate actual locations in a data set.
>
> I have not been able to locate anything that will do this.  I can use the
> Update All capabilities on the attribute table to get values for an
> attribute, e.g. attribute_x = $x+randf(100.0,500.0) but I am not clear on
> how to push this back to the actual x coordinate of the point.
>
> Any suggestions, including python scripting, plugins, or other approaches,
> will be welcome.
>
> Thanks in advance.
>
> Dick Males
> Cincinnati, OH USA
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list