Hot answers tagged

6

You need to change your view in the Table of Contents. You are currently looking at the "List by Source View" This view does not let you re-order layers. In order to do that, you need to change to the "List by Drawing Order" view. You can tell you are in the drawing order view because the layer source path disappears from the Table of Contents listing.


5

The problem is likely due to a data typing problem. ArcGIS assigns data types by looking at some number of the first few rows. If it reads the lat and lon attributes and finds "NA" in them, it will assume they are text and not valid numeric fields to be used for x and y coordinates. Go through and replace all of the 'NA' entries, with blank. This will ...


5

you could you draw a very small buffer around the end point and then intersect the line with the buffer and extract the point of intersection. It should sit on the line at the distance drawn with the buffer.


5

The smoothing is actually a part of every hydrological analysis in gis (and in arcgis as well). The tool you may want to use is fill. This tool fills sinks and remove peaks, adding functionalities such as the z-limit factor. Shortly, z-limit allow to keep sinks / peaks that exceeds the parameter's value.


5

In your Table of Contents (the list of layers usually found on the left side of your ArcMap window), right-click on your US border shapefile and click "Zoom to Layer". That will zoom to the extents of the layer and center your view on the layer. FYI, you can also zoom to one (or several) features in the layer, instead of the entire layer. To do that, open ...


4

WGS84 is not a projection, it is a Datum, there is a key difference between the two. You could have WGS84 in a geographic projection, or a UTM projection, or many other projections. You want to make sure that not only are you using WGS 84, but are also using the correct projection. Google Earth uses Simple Cylindrical projection with a WGS84 datum, you are ...


4

Such a slight systematic shift is usually due to a lack of datum transformation before reprojecting the data. You should test the different transformation and your data will overlap correctly. I can't tell which one is best for you based on the information provided, but you can test it relatively fast. EDIT: if this doesn't work, you have two solutions: ...


4

First you need to fix your raster calculator statement. You can only use parenthesis for nested orders of operation. ((NDVImax_2000 - mean_NDVImax) / (mean_NDVImax + NDVImax_2000)) * 100 I tested this statement with two random rasters that had similar minimum and maximum values and it is possible to get that range of values in the result. The fact that ...


3

a. Remove the Borders You can try switching off the polygon borders which will remove the brown completely - at that scale it looks like your areas are too small to see anyway. You can make the polygon borderless by either setting the border colour to 'no color', or reducing the border width to 0. b. Increase the Output Resolution Depending on the ...


3

The help for ArcGIS is clear that you cannot do relates with Excel documents or any other document that does not support an ObjectID in the Fundamentals of ObjectID fields help. This help clearly states: "If your table lacks an ObjectID field, you won't be able to perform the following operations: Select the features in the layer on the map. Although you ...


3

The meridians in your Google Earth picture look like they are displaying at every 0.0035 degrees. It looks like you are measuring the distance between your data, which is placed correctly at 142E, and the 141.9985E meridian. The measured distance between 142E and 141.9985E is right around 170 meters. Your data looks correct, but you are validating ...


3

By default any interpolation (projecting/resampling) will be nearest neighbour and this is the issue most of the time (meant for categorical data NOT continuous). I would say focal majority is a poor choice as I would imagine the cells all have unique float values. Better off with the mean. You could also change the interpolation to bilinear and just use ...


3

Using the default extent indicator in ArcMap, I don't think you can set transparency on the outline or the fill. However, if you have ArcMap, you should also have access to ArcGIS Pro. The extent indicator in ArcGIS Pro does allow you to have more options with the styling including setting the transparency of the extent indicator outline and fill.


3

I came across this Q&A which helped me to solve why I was unable to use a where clause on an ArcPy search cursor which could restrict the cursor to just those records which contained an underscore (_) in a particular text field. By the time I found it I had already developed a code snippet to illustrate the problem so, rather than waste that effort, I ...


3

If there are really only four colors, then you can simply go into the layer's Symbology tab and group all of the same colors together into one symbol. That will leave you with 4 symbols. Just select all the legend entries you'd like to group together, right-click them, and select "Group Values" from the context menu: Or, if the colors vary slightly you can ...


3

What we see on this image is a good example of exactly how broken Landsat 7 is at this point. Below is a RGB from the specific area: You have faulty values and spatial errors all across the image. Overall, using this image for any sort of analysis is going to result in lots of strange things. The line seen in the question is clearly visible, and it extents ...


2

It's giving you 4 points because four lines end at that point. You can use the "Delete Identical" tool and chose the SHAPE field so that it removes all but one of the points as in my example below.


2

You can have a look at annotations (not grapic elements). When you export your labels to a file-geodatabase the label options becoming columns in the attribut-table of the annotation. There you can calculate the angle field to have your rotations/colors/offsets based on some formula. When you create your labels in the first place as label-classes for ...


2

You could look into Representations if you have the appropriate ArcGIS license level. Representations allow you to customize the appearance of features by storing symbol information with the feature geometry This would allow you to leave the feature's geometry in its actual location, and offset its symbology for better display. (For your purposes ...


2

We just had a similar issue with 10.4, where it wouldn't load ArcMap and then crash and give no error or indication of what happened. Event viewer and checking logs didn't show anything suspicious. It had to do with python libraries being updated back in December. You can fix this by editing your registry. Try some of the solutions listed in Problem: ...


2

As @Midavalo suggested, there is likely a small gap in your lines. Zoom in and see if all the lines are touching. It isn't surprising that this is happening on the edges of the extent of your lines feature class because internal lines would cross each other and close the shapes. But there is likely a gap where the lines don't touch at the edges. You can ...


2

Perhaps the easiest way is using the near tool if you have the license. If you don't have the license then there are ways to code this functionality. Or you can possibly run a buffer of .5 m to create small polygons and then do a spatial join between the buffer and the point layers. Then you can select the points that share the same buffer feature ID.


2

I suggest using the Delete Identical Tool. However, the precise application depends on both your data and the purpose of your task. In case your point features share the same location (you want to delete duplicates), use the Delete Identical Tool and select the "Shape" field. In case your point features don't share the same location and you want to ...


2

It would be the same as iterating through the layers. mxd = arcpy.mapping.MapDocument("CURRENT") # Uses your currently open MXD for df in arcpy.mapping.ListDataFrames(mxd, ''): # Loop through dataframes for lyr in arcpy.mapping.ListLayers(mxd, '', df): # Loop through layers # Any tools you want to run on each layer go here


2

Below is some VBA code that shows you how to open the Item Description window from the first layer in the TOC. Public Sub OpenItemDescription() ' Get Application Dim pApp As IApplication Set pApp = Application ' Get Map document Dim pMXD As IMxDocument Set pMXD = ThisDocument ' Get Map Dim pmap As IMap Set pmap = pMXD....


1

I had a fix posted on the ESRI forum by Jeff Matson which I'll put here. Basically I shouldn't be creating a new LabelEngineLayerProperties object. I can get it by querying the AnnotateLayerPropertiesCollection. There should be no need to clear and re-add it Here is the working code: public void add_halo(IGeoFeatureLayer fl) { fl....


1

No. that "double-click" is taking you to the extent of the feature you clicked on (the feature for that row). It is the same as choosing "Zoom To" in the context menu shown below. You can set the scale after you get there or better yet, you can start from a given scale and simply right click the row and choose "Pan To" from this context menu (accessed by ...


1

Yes, there is a much easier work-around: enable editor tracking.


1

Another option: Use a definition query in layer properties on the County layer. "COUNTYNAME" = 'CountyYouWantToShow' This will only show the polygon for the county you're interested in. Then in Data Frame Properties, Data Frame tab, Clip Options, Clip to Shape, Specify Shape, Outline of Features, pick your county layer in the dropdown. This will show only ...


1

It doesn't seem that this is supported directly in the ArcObjects API. As a workaround using the save to v9.3 route could be slow, but how slow and does it actually matter? For example let's guess it added 10sec per export. That could be annoying yes, but I'd argue that being able to use dynamic text in your mxd would save you more than 10sec in the making ...



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