Tag Info

Hot answers tagged

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


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

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


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


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.


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


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?


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.


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.


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


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

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



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