Tag Info

Hot answers tagged

3

I don't have SDE, but since it sounds like you only have a few years, you should be able to select a year and create a layer from that selection. Or just add the SDE feature multiple times and use different definition queries.


3

For MapInfo there is a tool called Rotate Symbols under the Tools menu. This will allow you to rotate symbols based on a fixed value or an attribute value in a specific column. There is a tutorial available here with detailed instructions. Within ArcMap this can be done on the symbology tab of the point layer properties, using Rotation under the Advanced ...


2

Both Chris W's comment and mr.adam's answer employed pairs of mxd's or multiple data frames to hold pairs of symbology. This got me to thinking about a similar approach. Multiple layer groups could be used to hold multiple symbologies (eg a "design" group and a "print" group). The user could enable the "design" group while doing design work. When the design ...


2

You could add a field to the shapefile that describes whether the dead animal - open the shapefile go to Properties>Attributes and add new columns. This could be a text field for 1 character (width) ("Y" or "N") or anything you like. This video can help: https://www.youtube.com/watch?v=iuuFEq0a5gg You can then change the style/symbology based on this ...


2

I ended up trying this out to curve a set of "two point" linestrings using the ST_CurveToLine function as suggested by @Nicklas Avén. I passed the following 3 coordinate sets to the ST_OffsetCurve function : Start of the original line Midpoint of a line offset parallel to the original line End of the original line I used the ST_OffsetCurve function to ...


1

You are not providing the code required to add a layer to the map at all. You need a feature layer from the shapefile and then save it on disk as the .lyr file. inputLocationsSavedFcFeatLyr = arcpy.MakeFeatureLayer_management(input_locations_fc,"Stops") arcpy.SaveToLayerFile_management(in_layer=inputLocationsSavedFcFeatLyr, ...


1

In the symbol selector you can choose 'Circular Gradient' then select edit symbol, here you can select the color ramp style and outline type. When selecting the outline type select 'Edit Symbol' again and choose the 'Null' option from the drop-down menu: The result is a gradient buffer with no outline like this: There may be other ways to accomplish ...


1

I've tested your script with a bit of modification: mxd = arcpy.mapping.MapDocument("CURRENT") layers=arcpy.mapping.ListLayers(mxd) color_layer=layers[-1] lyr=layers[-2] df = arcpy.mapping.ListDataFrames(mxd)[0] arcpy.mapping.UpdateLayer(df,lyr,color_layer,True) lyr.symbology.valueField="color" lyr.symbology.addAllValues() arcpy.RefreshActiveView() ...


1

Try this out: import arcpy, os, traceback, sys from arcpy import env env.workspace="in_memory" env.overwriteOutput = True try: def showPyMessage(): arcpy.AddMessage(str(time.ctime()) + " - " + message) mxd = arcpy.mapping.MapDocument("CURRENT") color_layer=arcpy.mapping.ListLayers(mxd,"silver.tif")[0] ...


1

You can accomplish this with multiple layers pointing to the same raster source. Give each layer its own separate scale range and symbology. If you wanted to have a particular symbology between 1:25 and 1:100, you'd set those values on the General tab as shown below. Then choose the appropriate symbology on the Symbology tab. Then you might have, say, two ...


1

I think I would tackle this using Arcmap's Query Layers, why not leverage the power of your database? You won't have to export and make and store a derivative layer where it can possibly go stale (needing to be updated once source data changes). Open ArcMap, click File-->Add Data-->Add Query Layer Build the SQL Query (you may need to look up equivalent ...


1

I would do the following: Export the table (txt) Open in excel or similar Add column for year Use datepart to parse out the year Delete extra columns (leaving only year and UniqueID) Save as txt. Join back to the feature class in an mxd and symbolize by your new year column. I believe this should be fairly easy to automate using model builder to keep ...


1

I don't think you can access symbology from a single feature . The symbology renderer is defined at the level of the layer. You can set the renderer from the IGeoFeatureLayer, you access this by casting from IFeaturelayer. More info see: ...


1

I think it's a bug, or more perhaps more worded more precisely: it's a result of inadequate user interface portrayal of the symbol properties and their effects. My deduction is that the same dialog box for point symbol properties is re-used, but not all the controls there are applicable for Simple Line Symbols. It would help to also add an additional ...



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