New answers tagged

1

This can easily be done by using a spatial join. Here are some step by step instructions: http://support.esri.com/technical-article/000008599


0

The easiest way to achieve this is to use the Spatial Join geoprocessing tool. After running the tool, a new field Join_Count will be calculated in the states feature class with the number of features that fell within each state. Target features: states; join features: points.


0

A standard ESRI tech support response would be to rename the templates et al folder (C:\Users\your user name here\AppData\Roaming\ESRI to see if that fixes it. If it does but you have customizations you don't want to redo, you could get rid of the new folder and rename your old back to the original, and then try renaming individual templates starting with ...


1

This model assumes the world is spherical, but earth's radius changes with the latitude. If the distance covers about 1/10 of a degree, and Earth's radius ranges from 6353-6384km, then the error can be over 400m. This might cause 10km to come out as 9km if you are aggressively rounding.


1

You need to add another data frame to your layout. In that new data frame you copy all the layers you want to display in your inset. The easiest way to do this is to just drag and drop from your main data frame into the new one. This will copy them to the new data frame. Insert Data Frame Copy layers to new Data Frame Once you have your new data ...


0

I suspect the error is related to how you set your input features. Have a look at How to use multiple inputs, it gives examples in c# and vb.


0

You can also get the ArcGIS version by querying the version of AfCore.dll. This requires knowing the ArcGIS install directory, which you can either get by querying the registry or by hardcoding (it's C:\Program Files (x86)\ArcGIS\Desktop10.3\ for most users). /// <summary> /// Find the version of the currently installed ArcGIS Desktop /// </summary&...


0

Since you're only interested in areas where WPC is greater than 3, you can start by creating a subset of your wind potential shapefile which only contains polygons where this is true. Go to Insert > Select By Attributes, ensure your wind potential shapefile is selected, then create a query to select where "WPC > 3." Click OK, and those polygons should be ...


0

You could easily achieve this with modelbuilder: use a featureclass iterator to iterate over your shapefiles, this feeds into an add field, then calculate tool using inline substitution from a parse path tool to store the file name. Once you have run that you can run a merge tool bring them altogether into a single dataset. Basically read the help file and ...


1

You are using the ArcGIS 10.x for Desktop architecture while that documentation is for ArcGIS Pro. Consequently, for the ArcMap application, you will need to manually Save Edits.


0

In layout mode, hold ctrl+shift+b then use left-click to zoom in or out (left-click-hold+drag cursor) or right-click to pan (right-click-hold+drag cursor). It's a long reach for the fingers, but is really nice for layout adjustments.


0

Was going to write long answer on how to solve this issue but I think this, and this will do a better job explaining if its not obvious(and no Geonet Login).


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 ...


1

If you center your map in data view, layout view should show the same extent.


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 ...


1

Go to ArcToolbox -> Spatial Analyst Tools -> Map Algebra -> Raster Calculator In the raster calculator, you can either write SetNull("raster_name"<0.92, "raster_name"). Or Double click SetNull from the menu under Conditional menu, then double click the raster layer from raster layer listed in the Table of content from inside raster calculator ...


0

I think you could do this using ArcPy but it will be far from trivial to do so. You would need to: Calculate the size of the legend Create a feature that represents that legend in map units Use that feature to erase a copy of the data for which labels need to be avoided Label the copy instead of the original data As an alternative you might also be able ...


1

Exporting to a dbf works most of the time and is the easier way, but it doesn't really identify the problem. In ArcCatalog: Ensure the Excel Table in your spreadsheet (the xls or xlsx file) is viewable, has the expected number of records, and you receive no errors (i.e. you see your data values when previewing). Compare the Data Types for your parcel ...


0

You're going to want to export your excel table as a .dbase or .dbf file, then your join should work as expected.


0

There are several approaches to realize this as Mike already posted. Making a copy of the MXD or the layer files is a very good and pragmatic approach. Depending on the number of different symbologies it could get confusing very fast. Alternativly there exists the ESRI technology of representations to store different symbologies. The symbology here is ...


0

Thank you so much for your answer: However, I don't understand and I don't know how I use arcgis.rand() and pythons random. Please, Can you teach me step by step thoguh Field Calculator or Select by attributes? Like this picture... I think this in vbscript The idea is to do random selections in COD_MOD variable (0515012, 4789512, 4563728, etc). In addition,...


0

If you don't want to use a code block, you can go for 'False' if !String! is None else 'true'


1

Edit: I checked the help for the calculate Value tool. It says: "Variables created in ModelBuilder can be used by this tool, but variables desired for use in the expression parameter cannot be connected to the Calculate Value tool. To use them in the expression, enclose the variable name in percent signs (%). For example, if you want to divide a variable ...


0

Looks like you are missing a colon at the end of the if statement. See this page for more info: http://pro.arcgis.com/en/pro-app/tool-reference/modelbuilder-toolbox/calculate-value.htm


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.


0

This problem often occurs here, what "helps" in most cases are these steps: Click on: Validate entire model Go to "Diagram Properties" -> "Symbology" and switch to Style 2. Click on "Accept" and "OK" - Sometimes repeat with switching to Style 1.


1

Trial licenses can not be deauthorized. Deauthorize your Basic license from your organisation. Go to "C:\ProgramData\FLEXnet" and delete the documents inside the Flexnet folder. This will clear the information recorded by your arcgis administrator. Authorize the basic license from your organisation and you're ready to go.


1

ArcMap 10.* by default adds and ArcGIS online connection for windows, adding a little icon to your taskbar. At 10.1 ArcMap would attempt this multiple times (default every 10sec) thus slowing down start-up. There are 2 things to try: 1 Check and change how often and when ArcMap tried to make a connection. see if there is a little glob icon on your ...


0

OK there are a couple of options for you. Obviously business name matching won't work, spatial joins will be unreliable, and address formatting isn't the same. One possible solution could be rubber sheeting (http://desktop.arcgis.com/en/arcmap/10.3/manage-data/editing-existing-features/about-spatial-adjustment-rubbersheeting.htm). Rubber sheeting is ...


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 ...


0

This should help you to set your map extent : http://desktop.arcgis.com/en/arcmap/10.3/map/page-layouts/customizing-your-map-extent.htm


1

Use the highlighted tool for zooming your data inside your Layout.


1

You can select-scroll (scroll-select?) through records of an attribute table with Ctrl + Enter, which will also highlight the feature on the map. If you only want to scroll through a selection of features, you can create a layer from your selection first, and then scroll through that attribute table. I was looking for this today, so I found your question ...


0

Have you considered doing a dot density analysis instead. In order to do something like that you would first have to preform the dot density process. After that is done you would need to export these dots as a point shapefile, while at the same time preserving the second value.


0

AFAIK legends act on the layer level, not the symbol class level (other than using view extent option to show classes). You are right, you can copy/paste the layer and leave the new one out of the legend. Or you can convert the legend to graphics and delete the legend elements manually.


-1

You have to go into Layout View and then it works.


0

I had the same problem. Simply replace datetimestart >=CURRENT_DATE -1 with datetimestart >=GETDATE()-1


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 ...


0

There is a ArcGIS Tool for converting Maps into Garmin Custom Maps: https://bitbucket.org/wankoelias/maptogarmincustommap/src


0

If your DEM is a raster you can try to clip it using this tool.


0

Use the Data Driven Pages toolbar to automagically generate maps for all counties.


0

Just follow the link - very detail solution with basics https://youtu.be/K1Z3AGOnWrc


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 ...


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....


0

You could create a Python Geoprocessing tool and use the arcpy.MakeFeatureLayer_management function (see http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/make-feature-layer.htm) to create a layer and then use the arcpy.SelectLayerByAttribute_management function (see http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/...


0

You can use the Data Driven Page Display Expression option . So in your case the display expression on the Display tab of the Layer properties would be SHAPE.AREA/10000 http://desktop.arcgis.com/en/arcmap/10.3/map/page-layouts/using-dynamic-text-with-data-driven-pages.htm


0

The QGIS NNJoin plugin should be able to help you, but it will generate a new point layer and not update your existing point layer. See https://plugins.qgis.org/plugins/NNJoin/ and http://arken.nmbu.no/~havatv/gis/qgisplugins/NNJoin/. Use your point layer as "Input vector layer" and your line layer as "Join vector layer". The result is a new point vector ...


0

Another option would be to : 1-create your layout template; 2-select the layout elements (using the "select elements" cursor); 3-Copy the layout elements and to past them in the layout view of your target MXD file; You may have to drag the data frame into the layout view (causing a double). My Arc license is located on a distant server and I couldn't ...


0

Clarifies @TvsGIS' answer. In ArcMap 10.3 use COGO toolbar, select COGO Report (7th button from left) then select "COGO description of an existing feature" (2nd from right : arrow pointing to middle of a line). Then click on line feature. This gives the angle and length in Grid (Map) and Ground (survey measurements) co-ordinates. The transform from Grid to ...


1

The answer is to use the settings button (spanner/wrench and screwdriver) to the right of the time slider at the bottom of the map. This took me a while to discover. Click on advanced to set the necessary details. You will then get the dialog box to configure your time slider. One problem can be that the interval dropdown does not show all intervals....



Top 50 recent answers are included