Tag Info

New answers tagged

1

https://rbcgis.wordpress.com/2014/11/19/qgis-svg-fill/ Thanks again for the help everyone, I made a tutorial to show how I did it.


1

I do not believe this works in Version 2.6 having played with this for 3 hours and no joy. If it is an implementation, it is far from intuitive. Can we have a link to an updated and correct tutorial?


1

I've just tested the code below and it works fine. You need to be careful in your code that you don't try and apply symbology to the template raster itself otherwise you'll receive an error so I've added an if statement. import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd)[0] rasters = arcpy.mapping.ListLayers(mxd, ...


0

The code below works for me, though I think it's a bit sloppy. I had to include make raster layer and save to layer for it to work. arcpy.MakeRasterLayer_management(in_raster, out_raster) arcpy.SaveToLayerFile_management(out_raster, display_raster, "ABSOLUTE") # Adjust symbology of Raster layer ...


2

There's a few minor hiccups in your code, I've re-written it (hopefully) better: import arcpy arcpy.env.workspace = "c:\DEM Files" # not requred mxd = arcpy.mapping.MapDocument("Current") # This MXD df = arcpy.mapping.ListDataFrames(mxd,"Georgia")[0] # the first data frame called Georgia rasters = arcpy.mapping.ListLayers(mxd,"*",df) # all the layers # ...


0

What is "Feature_El147"? The help for that function says that the second argument has to be a: Feature Layer; Raster Layer;TIN Layer; Network Analysis Layer;Geostatistical Layer. Which in this context refers to a layer currently in the map document that has the symbology you want. Is that how you've got it set up?


2

Assuming you are using ArcGIS Desktop... You can symbolize based on multiple attributes but it is limited to 3 fields not 4. The quickest thing I would do is to create a new field and just concatenate fields A,B,C, and D to give you a code. This would give you data like 1121 2311 3312 and so on. Then you would just have to symbolize each ... nevermind ...


2

I came across this same problem, I think.... If I understand it right you had two (or more) datasets and you need to get the dataset scale ranges to match so that comparisons can be made. I solved it by: Create you're first dataset as you want it to appear. Ideally with the largest data range just so that symbols can be copied over easier to the second ...


2

If I understand it correctly, you are trying to rotate symbols for point features. Rotating the point features themselves won't work. A point is a point, and has no direction. You should be able to perform symbol rotation through the layer's symbology tab, choose advanced and then rotation. You will need a field with rotation values for this in geographic or ...


0

This following code works for me, though it might be messy. Note: This code only works for me when using ArcMap v10.0 and v10.1. There's also an issue when adding raster layers to a map (using MakeRasterLayer instead of MakeFeatureLayer). It adds the map to the display properly, but it is sourced to a temporary location rather than the workspace folder. ...


0

I think this code is a bit sloppy, but it gets the job done: # Adjust layer symbology out_layer = "shape.lyr" layer = "shape.lyr" arcpy.MakeFeatureLayer_management(Output_Feature_Class, out_layer) arcpy.SaveToLayerFile_management(out_layer, layer, "ABSOLUTE") arcpy.ApplySymbologyFromLayer_management(out_layer, symbology) ...


1

You can only symbolize by a maximum of 3 fields, and to do that you need to select: Unique values, many fields Under Categories, on the left side of the window. But, if you want to symbolize based on the 15+ fields in your screenshot, you might want to rethink your approach. You could always create a new field, and field calc the values of all the other ...


0

you shouldn't be losing information, but it does want you to pick which thing you are classifying by. You couldn't classify by the description or comments fields for example, that wouldn't even be possible. I know one thing we often did in class was to do reclassifications that take the values in the selected field and redistribute it like a 1-10 scale for ...



Top 50 recent answers are included