Skip to main content
10 votes

Removing annotations using QGIS

A very fast way to remove all the annotations from your project is to use a PyQGIS script in the QGIS python console. the script is manager = QgsProject.instance().annotationManager() for i in manager....
Val P's user avatar
  • 3,908
7 votes
Accepted

Creating grid annotations (reference grid) using QGIS

A lot of tourist maps use this kind of annotation scheme with a reference list at the bottom stating which places of interest are located in which grids (Examples here and here). To add sequential ...
PKG's user avatar
  • 610
6 votes
Accepted

Accessing and interacting with widget of form annotation using PyQGIS

My understanding of QgsFormAnnotation class is there is no way to set form (Qt Designer UI) other than by using function setDesignerForm which sets it from file path given. So to do adjustments to the ...
Miro's user avatar
  • 9,794
6 votes
Accepted

Find source of annotations in order to delete in QGIS

Using at least QGIS 3.22.x, if you double-click the annotation, you will find a delete button at the bottom of the window where you can delete the annotation. It works with Text annotations. For ...
ahmadhanb's user avatar
  • 41.4k
5 votes

Is it possible to hide map annotations?

you could also use an annotation layer: In the Annotations Toolbar click "New Annotation Layer". If you already have annotations use the "Transfer annotations from main layer" ...
bbsea's user avatar
  • 156
5 votes
Accepted

Reverse Engineering Movable Labels in ArcMap?

Your labels are not actually labels, they are annotation. You are dealing with annotation created in the map document, rather than in a geodatabase. Open the data frame properties to view all of the ....
cl3's user avatar
  • 1,956
4 votes

Changing font size of annotation class in ArcGIS Desktop?

Congrads for moving from labels to anno. First rule, store anno in a File GeoDataBaSE not THE mxd. It makes it easier to share and move to other projects. The MXD also opens quicker as it's not as ...
Bill Chappell's user avatar
4 votes

Labelling a rubber band (QgsRubberBand)

The recent addition of the annotations feature in QGIS 3.22 allows to place labels anywhere on the map canvas. Most importantly it allows placing labels at an angle which doesn't seem possible with ...
CodeBard's user avatar
  • 3,699
4 votes
Accepted

Subscript label for nautical notations

I solved it like this. It's not elegant, but it works. The label displays a value called "VALSOU" Set labels to "rule based" Made two labels: 1 called "whole", 1 called "decimal" no expressions set ...
CaptainAhab's user avatar
  • 1,032
4 votes

Subscript label for nautical notations

Progressing from Albert's comment if you separate the whole and decimal numbers as separate attributes you can duplicate the layer and have both parts as font markers which will allow you to colour ...
Emma Jackson's user avatar
4 votes
Accepted

Adding annotation programatically in QGIS 3.10

To add the annotation to the canvas, you should use the QgsAnnotationManager. In your case, you could replace the last line of your code with QgsProject.instance().annotationManager().addAnnotation(...
Jake's user avatar
  • 6,934
4 votes

Converting polygon annotations to vector layer in QGIS

I cant find a simple tool for it. But it is possible to read the geometries and create a new layer from them using pyqgis. I have an annotation layer with polygon, line and point markers. Change the ...
Bera's user avatar
  • 77.9k
3 votes
Accepted

in Arcmap can I save a graphic line pointer within annotation?

Yes you can. Add your annotation layer into your map and start editing (selecting your annotation source if required). Now from the Draw toolbar, select Drawing > Active Annotation Target > [Name of ...
Midavalo's user avatar
  • 29.9k
3 votes

Iterating extraction of polylines and annotations from CAD to Esri Geodatabase

Typically when I want to convert AutoCAD files I use the CAD to Geodatabase tool. So you could use an iterator to cycle through a folder of DWG files converting them into GeoDatabase FeatureClasses. ...
Hornbydd's user avatar
  • 44.6k
3 votes

Feature linked annotations not updating when editing attributes in features?

Esri indicates that edits made outside of the existing geodatabase tools could result in unexpected behavior. "When a composite relationship is established between two objects, as in the case of ...
Natalie's user avatar
  • 31
3 votes
Accepted

Feature linked annotation not added when new features are drawn

I have ran into this problem before and this seemed to work for me. https://geonet.esri.com/thread/52888 The SQL Query is exactly what's stopping the annotation from getting created. The ...
Miranda Schrader's user avatar
3 votes

Multiple leader lines on one annotation (non feature-linked)

I do this all the time, using a rather crude workaround, but it works. I create multiple annotations on top of each other and point each to where I want leaders. I then tweak size and drawing order to ...
Randy Dueck's user avatar
3 votes
Accepted

Annotate a Line that is Split Into Multiple Segments With an Annotation for Each Segment

You can choose to place one label per feature part by changing the Duplicate Labels option in the Placement Properties menu of the Label Manager: for more info: http://desktop.arcgis.com/en/arcmap/10....
atxgis's user avatar
  • 1,239
3 votes

Using Shapefile with Annotations in QGIS?

I was able to solve my problem by doing the following: In the Labeling tool under the option "Placement" I selected the Placement "Free (slow)". This seems to almost work perfectly.
Timespirelegend's user avatar
3 votes
Accepted

Labelling using Python Parser in ArcGIS Desktop?

So, it depends. If you need the labels to look different (one needs to be green text, another large bold black), or if you need to manage label placement properties (one needs to be above a line the ...
John's user avatar
  • 3,863
3 votes

Exporting Labels to Annotations using ArcPy?

I think I found the answer to your question is in this documentation : http://desktop.arcgis.com/fr/arcmap/10.3/tools/defense-mapping-toolbox/convert-labels-to-annotation.htm # Script variables mxd = ...
T Dog's user avatar
  • 125
3 votes

Error with Annotate Selected Features in ArcGIS Pro 2.1.2

The Annotate Selected Features tool was only added to ArcGIS Pro at 2.2. To use this tool you'll need to update from 2.1.2 to 2.2 or newer. Reference: http://pro.arcgis.com/en/pro-app/tool-reference/...
KHibma's user avatar
  • 17k
3 votes
Accepted

Unable to delete certain elements from my map in QGIS

Those are annotations. To delete an annotation: Select the annotation button at the end of the Attributes toolbar. Double-click on the annotation to open the annotation editing window. Click Delete. ...
csk's user avatar
  • 25.1k
3 votes

Subscript label for nautical notations

One idea would be creating a point layer of your labels. The regular underlined value would be a label and the subscript could be a font marker. You can create an expression in Character(s) to input ...
Albert's user avatar
  • 2,735
3 votes
Accepted

Programmatically removing Annotation items crashes QGIS 3.10

You just need to move your marker = QgsMarkerSymbol.createSimple({"size":"0.1","color":"blue"}) declaration within the loop (tested). Then when cleaning, no ...
ThomasG77's user avatar
  • 31.2k
3 votes

One label with different fonts

There is no simple way of doing this, but a possibility is to use the idea from the accepted answer for QGIS Labels with HTML formating. You need to set the value as '' (an empty string). The size ...
MortenSickel's user avatar
  • 3,836
3 votes

ArcMap depicts reduced selection of annotations

If certain labels are turned off (e.g. in a congested area) when you convert the labels to annotation, the annotation features will exist as unplaced annotation. They should still exist in the ...
Ebingsya's user avatar
3 votes

Thousand separator in QGIS for numbers with 5+ digits

I think this is a region-related setting. You could try changing the region or formatting your number as a string (we need more context to see where the number is located on the map). Here is how you ...
Comrade Che's user avatar
  • 8,208
3 votes
Accepted

How to permanently delete in QGIS an Annotations Layer?

If I understand well this presentation of annotation layer by North Road there are two kind of annotation layer : The “main annotation layer” which is always drawn on the very top of the map.) This ...
J.R's user avatar
  • 17.4k
2 votes

Possible to convert only a single label in a shapefile to annotation?

If you want to convert a single label to annotation, you need to start with just a single label! Use the SQL query option to only show a label for a single feature, for example selecting by Object ID. ...
jon_two's user avatar
  • 1,905

Only top scored, non community-wiki answers of a minimum length are eligible