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 ...


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 ...


9

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 ...


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

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.


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 ...


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

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

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); ...


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

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

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

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 ...


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


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

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.


3

I've had a really good experience using the MapBook extension, which is available in an open-source and a commercial (http://www.maplogic.com/) version. I personally use the commercial version and, for a single user with the basic functionality it's very affordable.


3

I think the general difference between a TOC and a Legend is that a TOC allows for control of the map. Depending on the application the TOC allows you to change the visibility and / or drawing order of map layers. A legend on the other hand does not allow for map control and is a representation of symbology used in the map. In terms of a web mapping app ...


3

The scale bar can only be horizontal. However, you can rotate the rest of your layout 90° so the printed map looks like the scale bar is vertical. To simplify the process and save your neck from getting a crick in it, you can draft your layout in the orientation opposite of what you expect to finish on.


3

No-one answered for QGIS since that functionality isn't available (yet...) The only work-around I can think of it to add two legends, then remove from the second legend all items except for the "Possible study area". Now position the second legend next to the first to get the effect you want. Somewhat fiddly, but it might work for you.


3

qgis.utils.iface.mainWindow() has findChild and findChildren methods. Unfortunately the QDockWidgets that display a title of "Layers" and "Layer Order" both have an objectName of "Legend". This code will gain access to the right widget: from PyQt4.QtGui import * layersDockWidget = None legendDockWidgets = ...


3

Ordinarily I would go with Underdark's suggestion. However, this issue is common for other situations where it is not relevant or possible to have all the data in one layer, so the question is worth a quick 'how to'. Navigate to the Legend Items tab and... select a layer click the pencil edit button and delete everything in the layer's item text popup ...


3

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

I would suggest using the Table of Contents/Legend Widget for JavaScript API. It has all the functionality you describe and is a very well written, free, widget. I use it in my apps and it is very easy to configure.


3

Does it work how you want if you create one legend from the currently active data frame. And then you activate the other data frame and repeat by creating a new separate legend and remove the title from the second legend and then highlight both legends right click and select group? You can fix alignment problems by selecting the legends before they are ...


3

You could try using a legend/TOC widget such as this one. It scrapes the layer definitions for you and builds a TOC, including layer visibility control (optional?).



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