Tag Info

New answers tagged

1

Yes, you need to duplicate the layer (right click on layer, and choose duplicate) for having different labels styles on the same layer. You may have to play with the label placement (Labels > Placement tab) for the alignment to fit. Note when duplicating, what appears to be two layers is actually the same layer in the layer control / TOC. If you make a ...


0

Here is the solution, found myself, and not obvious at all in the documentation: add a OUTLINECOLOR to the LABEL tags! CLASS NAME "myLayer" EXPRESSION ([code] = 1) STYLE SYMBOL "STD_circle" COLOR 0 255 0 END LABEL FONT "vera" TYPE TRUETYPE SIZE 3 COLOR 0 0 0 ...


0

Setting the text-avoid-edges attribute to true probably can help. This should place the labels near the center of the tile, so they are less likely to be cut. //source for strait label data is jfactory.11d0a600 #strait_labels [zoom=12] { text-name: [name]; text-character-spacing: 7; text-face-name: "Quintessential Regular"; text-fill: ...


0

I asked this on the Mailing list and One of the developer said currently the data Defined expression cannot be written for the placement as there was no demand for this feature.


1

I have done this in the past, though it is exactly the reason I began to store annotation as feature classes as @Chris W suggests. I strongly recommend that you try that out, because before you know it, you're going to have 3 data frames to deal with... and then the client will want to change the scale... However, I was able to get this to work just now ...


5

That's ArcScene, not ArcMap, and as such has no real labelling abilities. However there are plugins. See this plugin for one potential solution: http://edndoc.esri.com/arcobjects/9.0/Samples/3D_Analyst/Visualization/ArcScene/Text_Toolbar/LABEL_3D_TOOLBAR.htm and https://geonet.esri.com/thread/96511 And also this answer: How to easily label point values in ...


0

You might also want to look at this post if you want to avoid using Python. See the answer I added below my post. I used the EasyCustomLabeling plugin. I recommend that you download the latest version as some of the older versions only allow you to edit the memory layer in the session when you created it. Let me know if this is not clear!


4

Using a LIKE statement will return any string containing the search terms - in this case "STOR". I believe you are looking to only filter out names that are specifically "STOR". In that case simple using NAM <> 'STOR' should do the trick. To exclude labels like "STOR BARANG" and "STOR" but still include "MULTIPLE STOREY CAR PARK," use NAM not like ...


3

Here is a suggestion using ggplot. It can be improved, but it gives you the basic idea. library(maps) library(ggplot2) us.map <- map_data('state') # add PADD zones us.map$PADD[us.map$region %in% c("maine", "vermont", "new hampshire", "massachusetts", "connecticut", "rhode island", "new york", "pennsylvania", "new jersey", ...


3

I've used this label expression with success when labeling elevations greater than zero: def FindLabel([yourField]): if [yourField] is not None: if int([yourField]) > 0: return [yourField] else: return None else: return None Using Python as the parser and checking the Advanced box. ...


2

Use the ArcMap Label Manager from the Labeling Toolbar Choose the Label Class you're working with Click the SQL Query button Write a query to filter out features with an elevation of 0 (the features themselves will display, but the labels for those features will not)


1

The 'Placement' menu inside the 'Layer labeling settings' dialog might help you:


3

The labels are just a styling that you see in QGIS. Their existence let alone position and other parameters are not saved with the shapefile. You need to look at labelling in Mapbox entirely separate from QGIS. Here are some links to documentation to help you: https://www.mapbox.com/blog/placing-labels/ ...


0

I guess your map is tiled, and GeoServer by default won't paint partial labels, those crossing tile boundaries, as there is no guarantee the other half will be visible. You can force them to appear like this: <VendorOption name="conflictResolution">false</VendorOption> <VendorOption name="partials">true</VendorOption> You will ...


0

I tried arcpy.da.SearchCursor and that seems to have solved the problem. I've no idea why though. Could anyone enlighten me? Perhaps it can handle the '/'?


0

In my experiences with python, you need to use a double-slash // instead of the single /.


0

The easiest (possibly laziest) way to do that would be to keep the two shapefiles active but have the black symbols be invisible and change the color of the text labels to the same as that of the purple layer, and disactivating the label symbology on the purple shapefile.


0

I've found this to be a dpi issue, not a font issue. Even using Arial font, the halos are shifted when exported at 300 dpi or less. I bumped the resolution up to 600 dpi using Franklin Gothic Medium Cond font, and the halos print perfectly. This is unfortunate since it greatly increases processing time and triples the file size (in my case), which is ...


0

Insert a new data frame, add your layers to that. Don't label any. Set the data frame extent of the new data frame to that of the first one (Data Frame Properties > Data Frame tab > Extent drop down > Other Data Frame). Adjust your layout as desired.


0

I went to the same problem. After checking each layer's coordinate systems, I found out that the problem exists due to the difference in coordinate system. Just simply make sure the layer has the same coordinate with other layers, so the labels will be then displayed.


2

(Comment reposted as an answer as per Underdark's request) There is an old/existing feature request for this but I don't think it has been implemented (certainly not in 2.6). It certainly would be nice to have


0

Many methods to do this, here are two examples. Open the field calculator: For the positioning of the two labels: Add an expression to the main label expression ("Label this layer with") that places the nickname below the GNIS name. "GNIS" || '\n' || "NICKNAME" To change each peak / nickname's font sizes: Add an expression to the font size ("Size") ...


0

An updated way to do this (at least in 2.6.0 Brighton) is to: Go to Layer Properties>Labels>Rendering and check the box that says "Show all labels for this layer (including colliding labels)"



Top 50 recent answers are included