New answers tagged

0

The bottom image has filename 'untitled' which leads me to think the user hasn't opened the existing MXD on the second computer. Symbology is stored in the MXD or in layer files, not in the geodatabase.


0

This sort of fine grain control of symbology is not possible with ArcPy.mapping at this time. But until then, here's a work-around... If you separate your symbology into different layers, using definition queries, you could then reorder your layers in Python, much the same way you'd be able to in the advanced symbology window within ArcMap.


1

An easier but also dirtier solution that has worked for me. Don't forget to create a backup of your original data. Open the Attribute Table and Start Editing Edit any two values manually so the minimum and the maximum value you want your classification to be based on are included (remember the original values) Save and Stop Editing Classify based on the ...


1

If you have many shps, you may merge them together. If their table schema is the same you may symbolize the merged shp by categories, see steps below. Right click on layer name in the Layers panel and select Properties Select the Style tab, Categorized drop down, and select the field that has the lake name names defined in the Column drop down Then click ...


0

If you already created individual shapefiles, you could use the Merge Shapefiles to One... tool from the toolbar (Vector > Data Management Tools > Merge Shapefiles to One...) to merge all your shapefiles. If each shapefile contains a Name field, the final merged shapefile will also contain a Name field with all lakes and their associated name. You can ...


3

Just Add Features in your lake shapefile, you should be able to add as many Lakes as you want in the shapefile, add the attributes of the lakes as required (either on first creating the shapefile or later on by editing the attribute table) You can assign names to the lakes or categorize them anyway you want by adding an column in the attribute table (By ...


0

OK, I found the trick myself to accomplish what I want. Like this: DATA ... (select ..., '../symbols/images/' || sname || '.png' symb_name, ...) CLASS EXPRESSION (xxx) STYLE SYMBOL [symb_name] SIZE 10 END END


2

Using the Style Manager (Customize > Style Manager) create a custom 'Multi-part Color Ramp', with 7 parts (or however many parts you need). Make each of those 7 parts an 'Algorithmic Color Ramp' and set them to a single color. You'll then end up with a discrete 7 part color ramp that won't change when you update your values (unless you add or remove ...


3

Labels in ArcMap can have formatting codes within the expression, so something like: lblclass.expression = '"{}" + [OBJECTID] + "{}"'.format("<FNT size = '24'>","</FNT>") might work for you. This is adding font tags around your ObjectID into a label expression <FNT size = '24'> + OBJECTID + </FNT>


3

You can do this fairly easily using the symbol selector options, however it will need to be done for each symbol you want to change - it can't be done as part of the color ramp. Click on Edit Symbol... Click Add Layer Move the new layer down below the 10% hatch layer Change the symbol properties Type for this new layer to be Simple Fill Symbol, and ...


1

Symbol references are stored in symbology-ng-style.db in table symbol. But the name in column name is not what is shown as symbol label in style dialogs. The name regular_star is defined as value of property name in the xml symbol definition in column xml. Look at the xml definition (double click on the cell with xml content): These symbols are hard ...


2

You need to determine the azimuth of the polyline segment next to the point. It is possible to calculate this value and save it to an attribute, or calculate it as an expression which give the azimuth as result. How to use the following Python script: Point layer and line layer are added to the legend (in the script named bridges and trails) and change ...


3

My answer is a bit late, but it might help others. I just had the same problem and I managed to find a solution. Here is an image of the result: This is my code: var style1 = new OpenLayers.Style(); var risk1 = new OpenLayers.Rule({ filter: new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.EQUAL_TO, property: "r_voie_fai", ...


0

I was able to get this working by rewriting my script in ArcObjects by adding an ILayerFile to a blank MapDocument and then modifying its IClassBreaksRenderer.Break[n] values as needed (without losing the original symbol from the .lyr file). If ArcObjects isn't an option for you and you know the class-break-values ahead of time, Mike's answer will be the ...


4

Yes you can (in 2.12 anyway), although you need to do it for each project individually. Go to Project -> Project Properties -> Default Styles. You can then select one of the in-built styles for fill and then edit it to set a transparent border. To maintain random colouring ensure that the 'assign random colors to symbols' checkbox is ticked. I've tried ...


0

I have had better success replacing the data source on the layer than applying symbology to a new data set. Try saving your a copy of each of your class break options to a lyr file, add that lyr to your new map, then substitute the layer it is referencing using Layer.replaceDataSource. You can code the whole thing and reference a table of mxd's, lyr files ...


0

6 Options, I would go with 6 You state you want "proportional sizes" so I will stick to these in the earlier examples although other non-proportional options exist. (1) Add a second attribute to the table with the same name (add _1) and the same type (say integer) as the original. Copy all the values up to the thousands into the new attribute. Now let's ...


0

If you use graduated symbols instead of proportional symbols, you can set the classification method, or set manual breaks in the classification if you like. You can also change individual symbol sizes. This would allow you to set a 'greater than 1 million' class and then have the rest sized appropriately.


1

From ESRI Mapping Center: The default symbology can be changed using the Advanced ArcMap Settings Utility. This executable file is usually found in your C:\Program Files\ArcGIS\Utilities directory. Just navigate to that directory, double click the AdvancedArcMapSettings.exe file and the ArcMap Advanced Settings dialog will open. Click the ...


4

You could take a look at the maki https://www.mapbox.com/maki/ icon set from mapbox. They've got a couple of teardroped shaped symbols (marker-stroke and marker ), and are downloadable as SVG and PNG, and if you grab the github repository there's an ArcGIS Style file. As an added bonus they're released under a creative commons license so you can use them ...


2

Not sure if this is what you're looking for, but if you use the Marker line Symbol layer type, you can set marker placement and rotation: The rotation field can be set by expression or field, and is relative to the angle of the line. Please let me know if I've misinterpreted your question



Top 50 recent answers are included