Tag Info

Hot answers tagged

20

You can use basemap layers to solve this. Once you are happy with the symbology of your layers you can right click the data frame and select New Basemap Layer (see below) which is similar to a group layer. You can then drop the layers into this group, it will redraw them once and then 'store' this view rather than redrawing every time you make a change. If ...


15

Use the Erase (Analysis) Tool:


14

The easiest way to do this is to add a new integer field to the attribute table of the parcels layer. Then, run field calculator with the following expression: !Shape!.pointCount-!Shape!.partCount The !Shape!.pointCount returns the total number of vertices in the feature. However, the first vertex of each part is repeated at the end, in order to close the ...


11

In the Help for Supported raster dataset file formats it says: ArcCatalog only recognizes the .jpg file extension by default. To add .jpeg or .jpe files to ArcMap without renaming them, add those file extensions to ArcCatalog or drag those files from Windows Explorer into your map.


10

Parser: Python Code block: def calc(f1,f2): if f1 > f2: return "True" elif f1 < f2: return "False" else: return "Equal" Expression: calc(!Dist_1!, !Dist_2!) Or graphically (you cannot see all of the code block here unfortunately)


9

dmahr provided a good solution to count vertices. For a non-programmatic way to label each point with the XY coords, try the following workflow: Feature Vertices to Points Add two new fields (type: double) in the new point FC "X", "Y" Calculate geometry. Right click field > Calculate Geometry... > X Coordinate of Point (repeat for Y field) Add another ...


8

A good article from ESRI called "Extending your map with spatial analysis" explains and give examples of both. Another good article, "Heat Maps in GIS", found over on GIS Lounge, shows that these terms can sometimes be used interchangeably. I think the first paragraph of the article gives a great explanation of the term(s): Heat mapping, from a ...


8

Since Erase (as @Jens linked) only is available with an Advanced license, you can download ET Geowizards. It can be installed as an Arcmap toolbox. Although you have to pay for the full suite, there's a free part of the program and the Erase function is included there (Overlay group).


8

you can right click on the field name, click Properties, then press the ... next to Numeric and finally "rounding". You will then be able to format your number as you wish (well, it will be 2.61). EDIT: Just to make things clear, my initial answer is for visual rounding because field calculator was not mentioned in the question (I've added the tag). Now I ...


7

ESRI has a blog post - aptly titled Dicing Godzillas - about processing feature classes with large amounts of vertices. It discusses the Dice tool, which splits up a shapefile's features into smaller features with less vertices. You won't find much of a difference (if any) running in ArcCatalog vs. ArcMap. However, you might find some improvement by ...


7

You should use a 'double' field type instead of 'float' as per Esri's recommendations. "When you create float and double fields and specify a precision and scale, if your precision is greater than 6, use a double" (http://resources.arcgis.com/en/help/main/10.1/index.html#//001700000047000000). If you change your Precision and Scale to 8 and 5, ...


7

When opening Field Calculator, if using the VB Script parser (the default) you can use the Abs() function around your field name. Similarly, if using Python, use abs() around your field name.


7

The only way I know of to do this without creating many feature layers (one for each level of transparency) is to create a raster with an alpha channel. Here is one possible workflow you can try: Use Polygon to Raster to convert your polygon features to a raster. Reclassify the data as desired (using 8-bit unsigned integer with values from 0-255 works ...


7

Many thanks to @Erica for the reply, which for some reason didn't work for me. But it did put me on the right track to finding a solution, which was to use the Minimum/Maximum Stretch, in combination with the Edit High/Low Values option: Importing this symbology into the other rasters caused the correct stretch to be applied to all images.


7

The following example shows how to integrate the built-in python method .upper() with the arcpy update cursor. This example first tests if a field is of type String then checks each row within that string for lowercase values. If there are lower case values, the row is updated with all upper case. import arcpy fc = r'C:\temp\test.gdb\yourFC' desc = ...


6

You have a few options for getting the road as a vector. You could download the Open Street Map road layer. This has been prepared by Geofabrik. You'd have to select out the road you're after. You could digitise the road manually. This involves creating a new polyline layer and tracing the road. It looks like you'll need to create a point layer too, ...


6

As @Paul & @PolyGeo suggested, I think trying to make this a Python Add-in makes the most sense, and I will pursue that idea later. In the meantime, I put together code that will Add/Update the TOC Name of user-defined layers in an MXD with feature counts. For my purposes, I just created this as a GP tool that would accept individual layers via a ...


6

You would do this by setting up a formatting expression for the labels you want to create. This Knowledgebase article has a pretty thorough breakdown: HowTo: Include table fields in a VBScript label expression and use those values as dynamic font properties This is what a sample expression from that page would look like. It is VBScript, but can be ...


6

Open Properties of the layer > Labels tab. Click the Expression button. Check the Advanced check box and then copy this code into the Expression window. You will have to use your fields names instead of fields I used. def FindLabel([Type],[Name]): if str([Type]) == "None" and str([NAME]) != "None": return [Name] elif str([Type]) != "None" ...


6

I think the Integrate tool from the Data Management toolbox should solve this - you can set a tolerance and it will align and remove any slivers from two polygons. ArcGIS Integrate tool help


6

Use the KML To Layer tool which you can find and open via the Search window or in ArcToolbox under the Conversion Tools. Converts a KML or KMZ file into feature classes and a layer file. The layer file maintains the symbology found within the original KML or KMZ file. You can go from the feature class or layer (created by that tool) to a shapefile ...


6

Speaking from personal experience, it is easy to corrupt a GDB if you manipulate the files individually outside of ArcGIS (i.e. ArcMap or ArcCatalog) with something like Windows Explorer. The individual files that you describe make up the guts of a GDB. Instead of adding these individually to a folder, you should be able to locate, view and utilize the GDB ...


6

You can use the symbology option 'multiple attributes' and set the size min/max for the symbol to the same, and it will create a dot in the middle of each polygon. also, you could probably do the same with maplex labeling to place a '.' label at the centroid of each shape


6

You can put this as the label expression for the feature: def FindLabel(yourField): if yourField is not None: split_field = yourField.split(" ")[0] return str(split_field) else: return None Using Python as the parser and checking the Advanced box. Replace yourField with whatever field you are using to label.


6

Rather than try to use the ArcMap application alone, I have brought ArcPy into the picture. I just tested and achieved what you described using the UniqueValuesSymbology (arcpy.mapping) class which has a writable classDescriptions property which can be set to: A list of strings or numbers that represent the descriptions for each unique value that can ...


6

You can make ArcCatalog recognize .jpeg files by adding it as a File Type in ArcCatalog options. Inside ArcCatalog: From the main menu choose: Customize Select ArcCatalog Options Under the File Types tab choose New Type... Enter "jpeg" and "JPEG Image" .jpeg images will now display in ArcCatalog. UPDATE: For ArcMap, you have to separately add .jpeg as ...


6

There are two ways to get at the Create Features window from the Editor toolbar: 1) Start Editing. Right-click on toolbar and select "Editor" 2) In the editor toolbar: Editor > Editing Windows > Create Features Alternatively, the right most button on the editor toolbar:


6

In Windows explorer copy and paste the following location in the address bar and replace username with your username on the machine with the arcGIS install on it.: C:\Users\username\AppData\Roaming\ESRI\Desktop10.1\ArcMap\Templates Delete normal.mxt (your mxd template) this will restore you mxd to it stock/original format with all your toolbars and windows ...


5

If you have an advanced license, you can use Find Identical or Delete Identical. Both can be used to find/delete features that have identical attributes, or, if the Shape field is specified, identical geometries. If you don't have an advanced license, this post will be useful. In short, you add two fields for X,Y in your attribute table and run a Dissolve ...


5

ArcMap (10.2) Use ArcScan http://resources.arcgis.com/en/help/main/10.2/index.html#//000w00000001000000 but you have to change you image to 8 bit black and white for automatic vectorisation. Note lots of images require clean-up this can be the time consuming component. ...



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