[Qgis-user] Move Point with buffer
Stefan Sylla
stefansylla at gmx.de
Tue Jun 17 19:24:03 PDT 2014
Hi Joris,
have a look at this post here, its what you need to do:
http://linfiniti.com/2013/04/dynamically-updating-layers-in-qgis-with-postgis-views/
Basically you can accomplish that by importing your point layer to a
Postgis database (using th SPIT plugin in QGIS) and then create a view
of your point layer that creates the buffer around the point. Here an
example of how you could create that view via SQL:
create view point_buffer as
select gid,st_buffer(the_geom,buffer) as geom
from points
"buffer" would be the column with the value for your buffer. If you load
the point and the view back into QGIS it will dynamically create the
buffer around your point according to the "buffer" value, wherever you
move that point.
Installing instructions for Postgis:
http://postgis.net/install
or
http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgis_tut01
Stefan
On 06/17/2014 09:14 PM, jorishin [via OSGeo.org] wrote:
>
> Hello,
>
> Is there a way to do the following:
>
> I have a point layer. I create a buffer layer around these points.
>
> Problem: How do I move the buffer together if I want to move the point?
>
> Thanks for any tips
>
> Joris *HINTJENS*
>
>
> _______________________________________________
> Qgis-user mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=5146303&i=0>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://osgeo-org.1560.x6.nabble.com/Move-Point-with-buffer-tp5146303.html
> To unsubscribe from Quantum GIS - User, click here
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=c3RlZmFuc3lsbGFAZ214LmRlfDQxMjUyNjd8LTExNTE4ODczMTc=>.
> NAML
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Move-Point-with-buffer-tp5146303p5146410.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140617/3e3eccd8/attachment.html>
More information about the Qgis-user
mailing list