New answers tagged

0

It seems this is a bug in ArcMap, at least up to 10.3. I have not found any solutions or workarounds. See discussion here: https://geonet.esri.com/thread/36299


0

You would need to open the CartoCSS wizard of the CartoDB sidebar menu to edit the position of the labels. In order to change the labels placement, you could use the CartoCSS properties text-dx and text-dy. Here you can find a lot of text properties to use with CartoCSS in CartoDB. You can also find a lot of information of placing labels with CartoCSS ...


2

If you do need to make a lot of manual adjustments, go to page 1, convert to annotation, adjust labels manually, go to next page, turn off anno layer, turn on labels, convert to anno, rename anno group for this map page and adjust label manually. I did this for about fifty pages, so there are fifty maps with perfect labels. When exporting, just turn on the ...


0

You might want to try adding a 10% overlap to each data driven page using the 'strip map index feature' tool. Don't convert the labels to annotations because smaller parcels will not show their labels if you're zoomed out too far. Right click on the parcel layer, go to placement property and check the following: Try horizontal first, then straight // Only ...


-1

Function FindLabel ( [10_2008] , [11_1994] , [11_2000] , [11_2002] , [11_2003], [11_2008], [12_1987] , [12_1994] , [12_2003] , [12_2010] , [12_2011] , [12_2012] , [3_2006] , [3_2011] , [4_1993] , [5_1997] , [5_2001] , [5_2007] , [5_2008] , [6_1998] , [6_2005] , [6_2006] , [6_2009] , [7_2014] , [8_2014] , [9_2013]) FindLabel = "" IF [10_2008] = " " THEN ...


3

I expect there's a better way to do this, but here's a start that works for me (Python parser): def FindLabel ( [10_2008] , [11_1994] , [11_2000] , [11_2002] , [11_2003], [11_2008], [12_1987] , [12_1994] , [12_2003] , [12_2010] , [12_2011] , [12_2012] , [3_2006] , [3_2011] , [4_1993] , [5_1997] , [5_2001] , [5_2007] , [5_2008] , [6_1998] , [6_2005] , ...


2

I changed your code somewhat but it produces what you want. It checks for owner to be empty or none, then it checks the same for percent. If they both have values it adds them to the label. You can modify any section of this with an else to replace the empty value with something if needed. Yes intial problem was the way you were checking for the value, but I ...


1

Ok so I changed the code somewhat, as inelegant as it is, it works for what I need. def FindLabel ([AREABLK] , [Own1] , [Asgnpct1] , [Own2] , [Asgnpct2] , [Own3] , [Asgnpct3] , [Own4] , [Asgnpct4] , [Own5] , [Asgnpct5]): if [Own4] != " " and [Asgnpct5] == '0': return [AREABLK] + "\n" + [Own1] + " (" + [Asgnpct1] + "%" + ")" + "\n" + [Own2] + " (" + ...


2

You never get past the first if statement because you are comparing and empty list to None which will always result in True because it exists - even though it is empty. An example: own1 = "own1" [own1] is not None > True own2 = None [own2] is not None > True The second statement is also true because you are using the brackets around own2 that ...


6

You can do this with an expression for the size in the labelling dialog. First click the expression button at the far right of the size setting - here its yellow because its active (at first the button will look like the others): Then set it to something like this, depending on what size you want and the name of the attribute of your towns - here I want ...


4

You can use Rule-based labelling to specify the parameters of individual or groups of points. You can do this by right-clicking the point layer > Properties > Labels. Then select the options as shown in the image: Now you can add rules to specify how 'Merzifon' should be displayed by editing the properties such as size and colour: Then repeat by adding ...


1

Better to create database level annotation (not map level since map level moves when feature panned) and editing this like regular features. If you do not want this you can use SQL and select only specific feature using following way- N.B. You may need to adding same layer multiple times to label other feature (not that specific)


3

Labels in ArcMap can have formatting codes within the expression, so something like: lblclass.expression = '"{}" + [OBJECTID] + "{}"'.format("<FNT size = '24'>","</FNT>") might work for you. This is adding font tags around your ObjectID into a label expression <FNT size = '24'> + OBJECTID + </FNT>


2

You can easily do this with an advanced label expression. For example, I've got a label expression that will take 2 fields and label with whichever of the fields is present, or both. You could do something like the following: Important notes about the code provided: Obviously you would have to change the code to use your own field names In the Label ...


1

As @Jakob already mentioned, the JOIN needs to be recreated in order for the attributes, and ergo the labels, to be updated. You could do this automatically using the Python Console and use the following code adapted from this post: Join table field with shapefile programatically (via PyQgis)? (credit to @gcarrillo): # "csv" is the first layer loaded into ...


2

It's easy to do with using label classes. Define two classes with SQL query: Number is null and Number is not null Then label each of the classes with the fields needed.


2

You can't. You need to recreate the join, even when you have a watch on the CSV file, when you make changes to the csv file. The watch is working on the CSV file, but just not propagated to the join. I believe this is a WAD (work as designed). You could report a bug on the QGIS issue tracker http://hub.qgis.org/issues?page=3. If your into PostGIS you could ...


0

I am not sure if this will work in ArcGIS 10.3 But usually, if you go to the labels tab ( or the appropriate equivalent if using label manager) and click Expression you will be able to manually add space. if for example the field name you are labeling is called [Name] you can [Name] & vbnewline & vbnewline &[Name] That should add two new ...


3

This is to add on to Stephen Lead's answer. If you don't want to add a column or create an extra point feature class, you could follow Stephen's workflow using temporary files, create annotation instead of labels, then have the script delete the temporary files when it is finished. I suppose you could create labels and attach them specifically to the ...


3

As far as I know, it's not possible to label the vertices of a polygon (you can only label the polygon itself). So you'll probably need to: convert the vertices to points calculate the Z value of the points label the points based on the Z value You could write a Python script which iterates through each polygon, then finds each vertex and obtains the XY ...


3

We have not ported all the MapBasic applications from 32 bit to 64 bit, yet. That's why you can't find all the applications that you know from the 32 bit version when you are running the 64 bit version. You can, however, find them in the Tools folder of the 32 bit version, but only if you have the 32 bit installed. If you don't have the 32 bit version ...


2

Similar questions have been asked on the forums and "Ask a Cartographer". The question, How can I give my map an "antique" feel? has a link to a historical style (the 2nd link isn't working). There's also a presentation from NACIS 2006, on Historical Map Effects. The link is here. Scroll down the page or search for Historical. There should also be some ...


1

This should be the default behaviour anyway, unless you've ticked the 'Label every part of multi-part features' checkbox (under Rendering tab):


2

If you view your map in "layout" view, you should be able to extend your data window to the page parameters of your document and the labels will reset to not leave the 'printable' page. This way if you export the map in layout view, all the pertinent info should be within your set boundaries.


2

In the label settings for the feature where labels should not overlap (in this case, the rivers) the Feature Weight should be set to a number higher than 0. I believe Feature Weight is on the last tab of the label settings.


1

As far as I know, it isn't possible to retrieve the maximum $area in rule-based labeling, i.e. using the MAX() operator (see qgis: how to use 'max()' in an expression). One workaround would be to create a new field in your shape file that stores the area (if there isn't one already), and populate it using the field calculator, see below. Then ...



Top 50 recent answers are included