Questions tagged [qgsrubberband]

A class for drawing transient features on the map in QGIS.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
210 views

How to label a rubber band (QgsRubberBand)

It is possible to label QgsRubberBand or QgsVertexMarker with a text annotation (QgsTextAnnotationItem). See this MWE: ... r_polyline = QgsRubberBand(iface.mapCanvas(), False) r_polyline....
3
votes
0answers
222 views

QgsRubberBand Move Event

So, basically I've created a QgsRubberBand which copies feature from layer. And I need to be able visually move this rubberband on mouse event 'move'. Actually same visualisation like during self....
1
vote
0answers
59 views

Saving MapCanvas with RubberBand items as image

I want to save map canvas as image (Project > Save as Image..) together with rubber band items(colored areas in the image). But QGIS 2.18 just saves features of shown layers on map canvas. I get the ...
1
vote
0answers
197 views

Passing a WKT Polygon with interior rings to a QgsRubberBand's Geometry with PyQGIS

Starting point is that I select a geometry with the following query in QGIS DB Manager: SELECT 1 AS myid, st_buffer(st_union(wkb_geometry), 5) FROM ax_strassenverkehr WHERE unverschluesselt ILIKE '%...