New answers tagged

0

Sorry if I did not understand you properly; I thought you might want an expression like: CASE WHEN "Conc" != 'no data' THEN 'Loc_ID: ' + to_string("Loc_ID") + '\n' + 'Depth_m: ' + to_string("Depth_m") + '\n' + 'Conc: ' + to_string("Conc") ELSE 'Loc_ID: ' + to_string("Loc_ID") + '\n' + 'Depth_m: '...


1

There are several ways I can think of to address this situation using the Expression Builder, or even using a custom python function. Because of the size of the layer, however, these can be incredibly resource-intensive. There is, thankfully, an easier, sneakier way, using the label settings you've already established. This will result in label text which is ...


1

In fact, the rendering style cluster does something similar, only that points that are too close are not suppressed, but clustered in a separate symbol. However, you can use this at least as a workaround by adapting to your needs. Choose clustering as rendering style for your points layer. Than define your cluster symbol and set it as completely transparent. ...


2

You could set the label size to map unit or to meter at scale, with this setting the text size is linked to the map scale. Note that you may get too small or too big label to still be readable when you zoom in or out, if that's a problem @Erik answer using scale dependent text size may be better.


7

Word of cartographic advice: Don't do this. Some things like house numbers (as in your example) are only meant to be displayed at large scales, not when zooming out. Everything else is bad practice, since it overloads and covers up the map, leads to colliding labels and is confusing in general. As to your problem: In the image below you see the properties ...


1

I've done very little with annotations in ArcGIS Pro but I believe you create and set your call out in the annotation class on creation of the symbol from within the Catalog Panel. It appears you are unable to retrospectively change it. I may be wrong on that? You can certainly add new classes. To understand what I am suggesting watch the video below.


5

To solve your problem you have two different options. Solution 1 by default option QGIS, at least from the 3.10 (not sure about previous versions), offers the opportunity to add this arrow symbol to the label by default using one of the Labels options. In Layout Manager > Labels in the Formatting page, active the option Line direction symbol and, here, ...


-1

I've found that buffering works in a similar way, and doesn't have the issues associated with masking.


2

The anchor just controls the relative position of the label bbox and the label point, e.g., the label point is typically the centroid of the polygon (when it's inside the polygon), setting it to 1 0.5 means it's at the right/middle of the label bbox. Think of it as a text alignment offering more options than just "right, center, left" and "...


0

In the label expression: "Field " & [Label] & vbnewline & [Land_Use] & vbnewline & [Acres] & " acres" I'm guessing that you possibly mean ArcMap 10.8 (rather than ArcMap 8), however I believe this should work in both versions (that said I don't have access to ArcMap 8 anymore so I can't test).


4

You can rasterize the map using Project->Import/Export -> Export Map to Image. You can check "Append georeference information" and no need to georeference. You can select from several raster formats (tiff, jpg, png, etc). Dont't forget to copy the world file (jgw, pgw, etc) to keep georeference.


2

You should create two different label classes (changing labeling method in the layer's properties dialog) and based those two clases on SQL queries. One class with the statement Raised_Flat= 'RAISED' in wich the label field would be [Grave_Posi] The other with Raised_Flat= 'Flat' and the label field [Lot_1] You can look at this for a more detailed ...


1

It's possible to reuse Leaflet's built-in polygon-clipping features and even hook into the internals of Leaflet to actually reuse the clipped polygon data that gets passed to a L.Renderer every time a L.Path is about to be re-drawn. It's a bit hackish, it requires knowledge on how to extend Leaflet and reading the Leaflet source code (specifically about L....


2

You may try to add a HTML <style> block. Normally, it's only HTML with some limitations due to QtWebKit html rendering (QGIS relies on it as confirmed with this discussion http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-qgis2web-and-qtwebkit-td5378226.html#a5378445). You can set the following in an HTML frame <style> body { color: 'black'; ...


2

I think if you add some more info to your question it would help to find an answer. What sort of output or state are you expecting to have after you run this code? Is there a reason you need two search cursors? As the code stands, the first one is not accomplishing anything. You may be able to create your label like this: def newlabel(): fields = ['ID', '...


1

Yes it is possible but not very sophisticating: you can use a rule based labeling for every category without any condition in your rule and then set the option to show all labels including colliding labels for all of your rules, see pictures below...


Top 50 recent answers are included