Tag Info

New answers tagged

2

It is possible with a long workaround. But certainly worth it if you need to reuse. Create a dummy layer with the same data you want to show in legend. If you have a layer 'Roads' copy it and we will tweak the copy to make the legend. I often call layers like 'Roads - dummy for legend'. This layer will be turned off when done, be sure to uncheck 'Only ...


1

If you are talking about ESRI Basemaps, the basemaps usually comes with 2 layers, a reference layer, and the basemap itself. Turning off the reference layer turns off most labels.


1

This is not possible to to achieve "dynamically" out-of-the-box. You will have to convert your legend to graphics, un-group and arrange the items as you want them then create a text element for each of the labels you wish to also include in the legend, physically type in the values and apply the same symbology as the label has and move it place.


1

This seems to be a bug introduced at version 3.14. It seems to work fine with 3.11-3.13.


3

The callout lines are somewhat limited in MapInfo. Below is a screenshot of MapInfo 12.5 64-bit (but this is the same in most recent 32-bit versions as well). You can create label lines, but the caveat is that they don't appear until you physically move the label. You can see I have moved points 5 and 6 in the below image. Once you've created the ...


1

There seems to be an existing MapInfo Idea for More options in MapInfo to allow for annotations (“callouts”), which suggests to me that it may not currently be possible.


0

Found the solution to this: The POI labels stylesheet is styled based off of scale rank. I can't seem to find out a POI's scale rank but by removing the line of code: [scalerank>4] I can style all the POI's which are the name tags from OpenStreetMap.


1

If you turn on "Maplex Labeling Engine" from the Labeling toolbar. Then go into the label placement properties you will see the following option: "Label Position" tab -> "Orientation..." button -> "Align label to direction of line" check box.


1

You asked that ages ago but, maybe useful for some, as not answered yet... You said that you are keep your adnotation in the map but if you save them in a database You will have full control over the adnotation, including transparency is it something you have been looking for??


1

You will find the annotation layer in the properties of your dataframe. I do not know (yet) how to make them transparent.


4

You can use expressions to define a font size For example: CASE WHEN "size" > 10 THEN 10 WHEN "size" > 20 THEN 20 ELSE 30 END


3

Never mind I figured it out. Function FindLabel ( [ID] ) FindLabel = replace( [ID],"US-350",350) End Function


1

You can download a Canada shapefile from DIVA-GIS and selecting the Administrative areas as the subject. You will receive 4 shapefiles of differing levels: Can_adm0 Can_adm1 Can_adm2 Can_adm3 (this is probably the one you want) When loaded into QGIS, you will see Canada broken up into different districts (or wards, zones, etc.). You can run a query to ...


0

The way you are changing font, color and size is by using Text Formatting tags: ArcGIS text formatting tags let you modify the formatting for a portion of text. This lets you create mixed-format text where, for example, one word in a sentence is underlined. Text formatting tags can be used almost anywhere text is placed on or around the map in ...


2

If you open the layer properties dialog and navigate to Labels -> Rendering there should be an option that reads "Merge connected lines to avoid duplicate labels". This has usually helped me in the past. However, I've still had times where the labels were still not cleaned up enough. I tend to store my data in PostGIS so in these cases I write a view which ...


3

Try this Make sure your attribute table has a unique identifier per line Save the layer with the label coordinates to a csv file Load the csv with Add delimited text using the label coordinates as X and Y fields Save the new layer as shapefile into the target projection With the field calculator, add new columns of type real with the projected coordinates ...


3

Yes, it's possible, using the new Python function editor in 2.8 or later. For a good tutorial check out this youtube video Your existing expression will always show the value of field "LAENGE" for all features, this is working as expected. What you really want is an $is_selected() function which evaluates to True if the feature is selected, or False if it ...


1

I don't know if this is the cause of your specific problem but I discovered a bug regarding printing legends in the general case for which I found a work-around. When printing a single map with legend, if the box "lock layer styles for map item" is checked, then the legend does not print when exported in PDF or any other form of printing the map. In order ...


2

try to add this text-dy: -10; you can look at file admin.mss in openstreetmap-carto project dir and find code #nature-reserve-text[zoom >= 13][way_pixels > 192000] { text-name: "[name]"; text-face-name: @book-fonts; text-fill: green; text-halo-radius: 1.0; text-halo-fill: rgba(255,255,255,0.6); text-placement: line; text-dy: -10; } ...


0

You can create a thematic map based on your layer and the column holding these values (2G, 3G, 2G/3G, etc). If your table isn't mappable you need to create points from your long/lat columns - use the function Create Points to do this. Then add your table to a map window or show it in a new map window. Make sure you create an Individual theme and select a ...


2

In the Data Frame Properties it seems you have specified a clip option. Go to Data Frame Properties and then to the Data Frame tab. In the "Clip options" change from "Clip to shape" to "No clipping". If you want to show only data that are within the polygon you might use the "Definition query" option in your shapefile properties.


1

In QGIS 2.8 and 2.10 (maybe in earlier versions as well, can't check right now) there is an option in the Label-Settings to define which feature will be labeled. You can enter these settings as shown in the screenshot below. There you can build a query adjusting to your needs.


3

What version of QGIS are you using? I'm using 2.8 and I can style a layer by 'name' and also label it, and then turn off one of the features in the layer with a checkbox in the legend, and it isn't labelled any more.


0

Wanted to add an update, in case it is helpful. I had great success yesterday with the directions previously offered, but then ran into trouble after joining my shapefile with labels to another (CSV) file. Once the two files were joined, the labels would no longer move, despite the x, y columns designated to hold the label position coordinates. If anyone ...


0

You could use a page definition query to turn features on and off: Add another copy of the layer, and apply desired labeling to it. Then apply a page definition query to that layer so that only features that match the map number are shown. This knowledge base article should help with the concept


0

If you use Maplex labeling, you can check the remove duplicates box, under the label density tab, in placement properties. This will label each classification in your feature once and only once.


3

You can do this using the Mean Center tool in the Spatial Statistics toolbox, it will compute the average X and Y coordinates for a set of points that you specify and generate an output point. You can specify groups of points in your source data for which individual centers will be computed using the Case Field in the tool, so you would use "Name" as your ...


2

I am not sure if this is the best way to do it. But you could create polygons around the points, either draw them or use something like bounding container. Then calculate the centroid of the polygon. Then create the labels for the polygon feature and turn the labels on. Symbolize the poly feature with no color and no outline so only the label appears. You ...



Top 50 recent answers are included