Tag Info

New answers tagged

0

What software are you using? Most of them have an option to define the offset for symbols. If the software you are using doesn't, then maybe you can edit the ttf symbol, like this: http://youtu.be/_KX-e6sijGE


1

With arcpy you can only modify the following types of symbology for vectors: Graduated symbols Graduated colors Unique values. You cannot actually change the type of symbology (e.g. from single symbol to graduated colors) but you can change some properties of the symbology type chosen. Using arcpy this is anyway not possible with piecharts, as far as I ...


1

This way it worked fine for me: Try to get symbology in a separate line?


2

It's definitely a major pain when ArcMap tries to be, um, helpful even when you really don't want it to be. One workaround I've found is to create a new temporary dataset, and add a few points with the minimum and maximum values that you know you'll need in the output - just be sure to cover the whole range. Create your symbology based on this fake dataset ...


2

You can do it this way (don't know if there's a more direct approach): Convert your raster to points using r.to.vect algorithm in Processing. Set symbology for points (points are generated with the corresponding cell value). Define a Categorized style and assign an arrow icon to each point value, rotated a different number of degrees. The result is ...


0

I just had this exact same issue running ArcGIS 10.2. It turns out that (in 10.2 at least) you cannot set the symbology values via classBreakValues when the valueField is in a joined table. Instead, you need to export everything to a new feature class first, and then the following code should work: if lyr.symbologyType == "GRADUATED_COLORS": ...


1

Go into the symbology tab and select multiple attributes. From the main screen you can select the colours for your depth (click the drop down menu and select your depth attribute). If you look in the top right of the same window, you'll see a symbol size menu from which you can select the symbol size scale based on your magnitude attribute. This thread ...


1

In the legend wizard, on the last step you will be prompted with spacing options. Recreate your legend and change the "Spacing between patches (Vertically)" until you find a spacing you like. In terms of creating more breaks, you have to go to the layer properties and select Symbology > Quantities and modify the number of classes.


0

Just convert your legend to graphics, ungroup until it's all separated (you may have to do it several times) and manually edit the circle's size and labels. Then play a little with the "align" and "distribute" tools to make it look nice and centered.


2

To apply the Layer file with python for all rasters with a certain name one could use: # read in mxd file mxd=arcpy.mapping.MapDocument(r"Path_To_MXD_File") # read in all rasters in the mxd which have names starting with "test" rasters=arcpy.mapping.ListLayers(mxd,"test*") # apply the symbology lyr file to the rasters for r in rasters: ...


1

MapBox recently released a style called Pencil to emulate hand-drawn base maps. They actually mention the style is based on real hand-drawn lines. Paper textures are also added to achieve nice effects: Looking at the past, in 2010 Microsoft published Destination Maps, an on-line utility to automatically generate map sketches, allowing users to indicate ...


0

I don't know if this is equivalent, but I ran into a slightly similar issue where I needed to provide advanced symbology - including symbol levels - to a layer in a model referencing data on disk, and add this layer to TOC. With my first attempts, I could add only the basic symbology to the layer, but the symbol levels were dropped, making the layer totally ...


1

You should refer to the layer (lyr), not to "plan" when applying the symbology: arcpy.ApplySymbologyFromLayer_management(lyr, symbologyLayer) "plan" is just a string so arcpy tries to locate it in your predefined workspace.


2

If you are running this in the Python window, then you need go to the Geoprocessing menu -> Geoprocessing Options and check the setting for "Overwrite the outputs of geoprocessing operations". If it is not checked than the script is behaving correctly, since your current setting is not supposed to not let tools overwrite outputs. Once that setting is ...


0

An SVG symbol containing just text is easy to create. SVG graphics are generated from a text file. I'm no expert on SVG but the following seems to work. I've only tested it quickly, but it seems to work well on QGIS SVG marker fill - and solves problems we had with fills using multiple font marker letters. Remember that you need to tell QGIS where to ...


2

If you haven't, try Arc's Layer to KML conversion. I know it retains some symbology, but don't if it'll do the patterns. Worth a try, though.


1

In my experience, data-defined properties are more reliable than the size-scale field. Give it a try if you are using QGIS 2.6 or higher.


1

Solution -- import arcpy from arcpy import env arcpy.env.workspace = r"C:\VMshared\small_example_valley3\SnowDepth3" arcpy.env.overwriteOutput = True layerList = arcpy.ListFiles("*.tif.lyr") symbologyLayer = r"C:\VMshared\small_example_valley3\SnowColor2\snowdepthCOLOR.tif.lyr" for lyr in layerList: ...


1

To your first question: how can I use the arcpy.mapping.ListLayers() function without calling the current mxd? I would say the answer is to use something like: mxd = arcpy.mapping.MapDocument(r"C:\temp\test.mxd") for lyr in arcpy.mapping.ListLayers(mxd): print lyr.name # Added to show that ListLayers is working in place of: mxd = ...


3

To reverse the colour ramp applied to feature symbols: Right click on the symbol column then from the context symbol select 'Flip Symbols'. Note that any specific changes made to a particular symbol will be overwritten by this action.


2

The second option you gave corresponds to how QGIS deals with intervals: (0.60 - 0.80] (0.80 - 1.00] If a point value is 0.8 it will be rendered with the symbol you assigned to the first class, 0.60 - 0.80. I think this should be reflected in the legend accordingly. That is, one should come up with something to indicate users that even if the same value ...



Top 50 recent answers are included