Tag Info

Hot answers tagged

12

To start with I will drop this website as a resource you should tie into. your sequences are actually backward. your fourth has to be the first thing you attempt. (something I learned long ago is to plan what you want to end up with and then work back to where you are so you are sure you will end up with what you want [not something else]). 1. you need ...


11

It's a great question. One standard set of iconic markers with which everyone in the world is familiar is their country's set of street signs: stop, yield, crossing ahead, etc. I hope the point of such standardization is immediately obvious. Note that the actual meanings of many of the highway symbols are not intrinsic: they must be learned (especially ...


11

Here is a really simple example library(raster) data(volcano) volcanoR <- raster(volcano) #making colors below 100 red and above 180 blue in this example breakpoints <- c(94,100,120,140,160,180,195) colors <- c("red","white","white","white","white","blue") plot(volcanoR,breaks=breakpoints,col=colors) You just need to pass the plot a vector of ...


10

I guess the idea is that you don't have to make anything up and if your "boss" askes why something looks the way it does, you can just point him to "the standard".


10

In 10.1 you have a lot more control over legends. You should be able to wrap both the labels and the description using the Text Wrapping option in the Layout tab (see below) If that still doesn't work you can manually force the line breaks using the Symbology tab in the Layer Properties. If you right click each of your unique values and select Edit ...


10

In layout view, open the legend properties and browse to the Items tab (see above picture) where you can specify which items show the count. If you were asking specifically about showing the count in the Table of Contents, I'm not sure how this can be done. I looked around but only found this helpfile from ArcMAP that states For example, you can use ...


8

I had the same problem last year : a few dozen of maps to produce within three days, same legend, but different locations. I used this setup : vector data in PostGIS raster data in GeoTiff (shaded relief) cartographic engine : MapServer, with PDF vector output batch processing : PHP to automate MapServer, with MapScript PHP finalization with Adobe ...


7

You could listen for the "overlayadd" and/or the "overlayremove" events on the map object and have two separate legends (two controls) defined, e.g.: map.on('overlayadd', function (eventLayer) { // Switch to the Population legend... if (eventLayer.name === 'Population') { this.removeControl(populationChangeLegend); ...


7

not sure if the users are IOS or Android but maybe the list/interface icon it would go nicely with what the user is used to seeing in other apps, unless of course its already being used for something else.


7

Rather than try to use the ArcMap application alone, I have brought ArcPy into the picture. I just tested and achieved what you described using the UniqueValuesSymbology (arcpy.mapping) class which has a writable classDescriptions property which can be set to: A list of strings or numbers that represent the descriptions for each unique value that can ...


6

On the third screen of the legend wizard you have the option to assign the gap that you want between the frame and the object in the legend (this also applied to neatlines). Adjust that until it looks right. I too also convert features to graphics, but this is the very last thing I do on a map; it is no longer tied to the map features and if you change ...


6

I'd say it should look something like this: https://www.iconfinder.com/icons/64438/legend_icon#size=32


6

Yes it is, but there's a bit of work to it. The article in the previous answer related to text description fields which can be edited and entered manually for each symbol class: These are automatically italic and their font can be changed without affecting the layer name or symbol classes. If you want to italicize only one word in a symbol class you can ...


5

... such as a body outline for a homicide scene... Summarizing: Standard Symbology is used for fast map reading. I think that's the point of standard symbology, when you look at it you know what it means. The legend is indispensable indeed. But when you look at a standard symbol like a "body outline" the very deep of your subconscious tell you what ...


5

If you have access to ArcMap, examine the arcpy mapping module


5

In ArcMap 9 and 10 you can go to Insert > Legend in layout view, and follow the GUI to create & format the legend.


5

Assuming that you wish to do this in a QGIS Print Composer layout, and not the main interface's layer legend (which is currently not possible), here is a layout representation of what you may be looking for: Note that this legend is comprised of multiple items (not just a basic legend item): background rectangle, title label and two legend items (in ...


5

The method we use is to have a duplicate copy of the layer just for the legend. After the map layer looks the way you want, just drag the layer from the TOC and on to the map to make a duplicate. We append '_map' to the name of the map layer version to differentiate between the two layers. Then the symbology size or width can be adjusted for each icon or ...


4

Thanks to vector data digital mapping methods, it is easy to produce maps with various symbologies. However, the variety of maps symbologies remains quite low, because a map based on already well established symbologies is always preferred to an 'exotic' one (except for some very specific cases). The example of national topographic maps is a good example of ...


4

A lot of the standards work comes from the military (NATO etc) so that when you have half a dozen military forces bombing some where they can all agree what their friends and the enemy symbols are. It cuts down on so called friendly fire incidents. A similar functionality is required when you have many local, state and federal law enforcement agencies ...


4

With the AddLayer method you cannot be more precise than "TOP" or "BOTTOM" as shown above. However, if you use the InsertLayer method (ESRI Help Pages), you can specify a reference layer (or multiple reference layers) and add your new layer in reference to that. import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd") df = ...


4

QGIS is evolving quite rapidly, but it certainly has the core components for automated map production: its map and print composition formats are stored in XML, map composition can be done programmatically via python (e.g. this question) with PyQGIS map compositon.


4

A Map Legend is a static representation of features on the map and their meaning A Table of Contents [TOC] is an interactive list displaying features on the map - some even showing what is visible in real-time.


4

Zach, correct, there is no way to hide a rule from the GetLegendGraphics call. The SLD standard does not provide a way either, so someone would have to come up with an extension to the standard and then code to implement it at the Geotools and GeoServer level.


4

Once you are happy with the size of your scale bar you can right-click and convert to graphics, then the rotate and flip options are available in the drop-down menu. Just be sure not to accidentally resize it, the scale will no longer be accurate.


4

To omit Legend, you have to set Legend::LayerInfos parameter which LayerInfo you want to show. As bellow, //add the legend dojo.connect(map,'onLayersAddResult',function(results){ var layerInfo = dojo.map(results, function(layer,index){ return {layer:layer.layer,title:layer.layer.name}; }); if(layerInfo.length > 0){ var legendDijit = new ...


3

The only solution we've found to date is one you've already rejected: convert to graphics. (Though I've not experienced the "move label, marker disapeared" problem you mention.) We just sigh, curse a little, suck it up and keep going. On the bright side this allows us to do things not otherwise possible. In this example below any given polygon on the map can ...


3

I don't have any classical training on map making and this is just my 2 cents, but from a usability standpoint, I would think that you would want the most important/informative class listed first so that viewers will be drawn to that. It's tricky though since single classes won't mean much without the context of the others. Mersey, thanks for the tip. I'm ...


3

I believe you have to refresh via IMapSurround. See code below. Dim pMxDoc As IMxDocument Dim pPageLayout As IPageLayout Dim pGC As IGraphicsContainer Dim pElem As IElement Dim pMSF As IMapSurroundFrame Dim pMS As IMapSurround Set pMxDoc = ThisDocument Set ...


3

The nearest you can get is: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=adding_mixed_format_text_to_legend_descriptions ArcGIS 10 has more capabilities (not what you want to hear) http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s80000000q000000.htm



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