New answers tagged

1

If you had an advanced license, you could simply use the Tabulate Intersection tool. Without it: 1) Buffer the points. Do not select the option to dissolve the buffers; otherwise, they won't retain the identifying attributes of the original points. 2) Instead of using the Clip tool, you need to use the Intersect tool. The output of this tool retains all ...


0

This depends on what you're trying to achieve. If you're data relates to features in your map, as Midavalo suggests, you'll probably have to load it into the TOC. However, if you are updating text objects in your layout, you can change these with a python script. You'll have to edit your question to provide further details about your workflow and what ...


2

I don't think there is a way to do this without some programming. Most likely ArcObjects. The only symbology parameters you can set with fields seems to be Size and Rotation. Alternatively, you could try creating a style for each possible combination (though you indicated that there were too many). You'd have to merge your two fields into one as your ...


2

If all your features have the same pattern (polygons with numbers as donuts inside), you can explode these multipart features (with Multipart to Singlepart) and keep the largest part of the original feature. An easy way to get rid of the 'numbers' is to dissolve all features from the same original feature based on their initial OBJECTID.


3

It appears you're mixing the syntax of the old arcpy.UpdateCursor() with the newer arcpy.da.UpdateCursor(). Try changing your cursor to be something like: updateFields = ["R_value", "G_value", "B_value", "C_value", "M_value", "Y_value", "K_value"] with arcpy.da.UpdateCursor(newtable, updateFields, query) as rows: for row in rows: row[0] = r ...


1

Check out the 3rd party Marine Geospatial Ecology Tools for ArcGIS. It will perform CART and also has a tool for creating a raster from a decision tree.


0

Have you seen this thread? I think once that issue is resolved, you should be able to run the Intersect tool on the layers chosen.


0

I did not manage to get columns in the TOC, but the legend updates. I used several basic text fields for the columns and gave them names in the properties. In the code I update them when the user switches to the layout view: IGraphicsContainer container = (IGraphicsContainer) pView; container.reset(); IElement docElement = container.next(); while (...


0

A distance calculation on a sloping surface is different than that on a planar surface. This appears to be a latent danger that many may not consider, although it is most important when a project requires high quality measurements and/or when the topographic relief is great. The difference between planar distance and cumulative distance appears to be ...


3

Try to change your code to def calc(Wert1, Wert2, Wert3): if (Wert1 == None): return Wert2/Wert3 else: return Wert1


0

If you're looking for the length of a field, you can use arcpy.ListFields which returns a list of field objects that contain information about the field (List Fields: http://pro.arcgis.com/en/pro-app/arcpy/functions/listfields.htm , Field Objects: http://pro.arcgis.com/en/pro-app/arcpy/classes/field.htm ). field_info = arcpy.ListFields(data) for field in ...


0

I was able to add the data. I am using ArcGIS 10.3.1, using the Data Interopability Connection, and I was able to bring in the bugsite feature class. URL: https://weaveprod.ucdp.utah.edu/geoserver/ows Parameters: Results:


1

Faced similar siutation and resolved using ScaleText option. ITextSymbol pTextSymbol = new TextSymbolClass(); pTextSymbol.Size = Convert.ToDouble(size); pTextSymbol.Font = pFontDisp; pTextSymbol.HorizontalAlignment = esriTextHorizontalAlignment.esriTHACenter; pTextSymbol.VerticalAlignment = esriTextVerticalAlignment.esriTVACenter; pTextElement.ScaleText = ...


0

Do not know any method to stop IGraphicsContainer from scaling its symbols. Only FeatureLayers have the property ScaleSymbols. So in your case I would create a point-featurelayer myself in a InMemoryWorkspace and set its property ScaleSymbols to false. Then you could add a feature at the right position. Create a SimpleRendererClass for the layer and set ...


0

Last I read the performance of ARCMap Desktop was less about video card. Everything I have read in FAQs has pointed to focus on CPU power not GPU. In fact GPU hardware Acceleration only benefits Raster Images and background maps.


2

I had the same problem (Arcmap would not import my csv file with headers, instead it would show Field1, Field2, Field3 etc). When I examined the file headers in Excel, I found...decimals numbers, spaces, percent signs etc. After replacing all of that with underscores or text, I had no problems. I dragged the .csv file into arcmap, opened the attribute ...


0

Function FindLabel ( [PIPE_MATL], [PIPE_DIA] ) ' this just pulls first digit from PIPE_DIA string 2", 3" & converts to Double type - you may have to play around with... If CDbl( Mid([PIPE_DIA], 1, Len([PIPE_DIA])-1)) > 2 then FindLabel = [PIPE_MATL] else FindLabel = "" end if End Function Adding unit decorations to a data ...


0

I'm not really good with VB, so I'll offer a Python attempt. You would need to change from the Visual Basic parser to the Python parser and give something like this a try: def FindLabel ( [PIPE_MATL], [PIPE_DIA] ): # assign pipe diameter string to S S = [PIPE_DIA] # trim the double-quote character from the end of the diam string/chg to float variable ...


0

I think it must be near your 'if ( [PIPE_INTERNAL_DIAMETER] > 2") then' line. Your wanting to perform a logical mathematical operation there and the double quote after the 2" is probably getting in the way - getting interpreted as a string. if PIPE_INTERNAL_DIAMETER is an integer field then you need to do something like: Function FindLabel ( [PIPE_MATL], ...


0

Does it have to be a view? Some expensive operations, like this spatial filter, are best handled in ETL, or in a scheduled task in MSSQL. If it needs to be real-time, then I guess you'll have to put up with some slowness. If you can handle data that is a day old, set up a task to cache the data.


0

You can do this from the Layout View using the following process: Select your data-frame in the layout view. Right-Click > Copy (or Ctrl+C) Right-Click > Paste (or Ctrl+V) Your data-frame will have been copied in the layout and show as a second data-frame in the Table of Contents


0

Another work-around until the bug is fixed is to start a second instance of ArcMap, then drag the data frame you with to copy into the new table of contents (thus creating a copy in the new map doc). Once it has copied in the new table of contents, you can simply drag it back to the original map document contents.


2

OK the answer here was pretty simple: the WFS provider chose to set a limit to the number of features requested, which was at 15000, so that's why I wasn't able to get more than that. Still there's something buggy in ESRI's conveyance of the WFS as I got features from outside the search envelope. However, after contacting UK ESRI support, they told me you ...


0

There is a tool called Flow Length in ArcGIS which measures flow length from either a downstream point or upstream points (upstream is based on the longest flow path). You could do a series of Con statements on a reclassified flow length raster. For example, maybe if flow length exceeds 2.4 km then the threshold for flow accumulation must be X or greater. ...


1

Yes, use the integrate tool but make a backup copy of your data since this tool will alter the geometry. For example, if you have a polygon smaller than the tolerance the polygon will collapse.


0

The problem with the projections others have suggested is that you'll be unable to divide the spherical surface of the Earth into equally-sized cells using a rectangular grid. A discrete global grid would be most appropriate here as it will generate a grid of equally-sized, hexagonal cells. I don't think Arc has the capability to do such things, but my ...


0

Blockquote Its a bug in 10.4. All my old models went white as picture above after upgrading to 10.4. It's indeed a pretty bad bug, ESRI fortunately released patches for 10.4 and 10.4.1 that you can download here: 10.4.1: http://support.esri.com/Products/Desktop/arcgis-desktop/arcmap/10-4-1#downloads?id=7384 10.4: http://support.esri.com/Products/Desktop/...


1

I'm not sure if I would recommend ArcObjects/.NET if you have no experience with either ArcMap or .NET. But if you decide to go this way, start small, e.g. by creating an addin based on the Visual Studio templates that come with the ArcObjects SDK. After you do that a few times, throw everything away and do it again in the proper way ;-) An addin built with ...


1

Boolean attributes are not possible, but you can simulate it by assigning a domain to you attribute. Check out the ESRI help on domains, you want to use a coded-value domain.


-2

To format number labels for two decimals places: FormatNumber([ZOR], 2,,, 0)


0

Here's the solution I've implemented successfully. I had two variables in the feature class table defining the file I wanted the program to open. Go to Layer Properties - Display and select Hyperlinks - Script. The ESRI hyperlink script looks like this: import subprocess program = 'C:/Program Files/your program.exe' #program you want to use to open the ...


1

I haven't tried this with graphics created from the Address Inspector. In fact, I haven't tried this ever. But what you're trying to do is create features from graphics. Fortunately, this is possible when you're viewing graphics in the Data View and not Layout View. If you right click on the data frame in the table of contents (by default, this is called ...


0

In a nutshell, the problem is with the loose-fit of the regression equation. The 2nd-order equation describes a parabolic curve anchored (mid-span) at ~3200 ft elevation and crossing the zero, zero origin. Both of these observations point to a poorly curve-fitted dataset, since your temperatures appear well above zero near the beach. Here is my suggestion:...


1

Using either a python add-in or script tool you could use the os.startfile() or subprocess.Popen()methods to point to your file and open it or you may use the subprocess.call([app, input_command]) to run a given command on an app. You may have to set it first in windows as the default app to open that particular file extension first (right click on file ...


2

There is a tool GPX To Features in which you can import or convert the point information inside a GPX file into point features. It is available in ArcGIS 10.3 basic license as well. You can access the tool from ArcToolbox -> Conversion Tools -> From GPS


3

In your question you explicitly state you want to find the distance and not the actual line geometry. If you have an Advanced level license for ArcMap you can use the Point Distance tool or Generate Near Table.


0

If you have the license you could use the Extract Values to Point tool to add the aspect raster value to your point layer and then carry on with whatever method you will use to run your density analysis. Extracts the cell values of a raster based on a set of point features and records the values in the attribute table of an output feature class.


-1

I can't find this in Esri doc, but this blog suggests that the ** operator means "to the power of" so "dataset.tif" ** 1.5 may get you what you want.


1

According to the Python help file: If both x and y are finite, x is negative, and y is not an integer then pow(x, y) is undefined, and raises ValueError. May be this is the source of your error? The x needs to be a positive integer if you want y to be a double?


2

I'd use the 'Tabulate Area', creating a cross-reference table between reclassified Aspect to 1-8 or 1-16 classes, and vegetation type areas. The resulting table would have aspect class and vegetation association. Sorry for my english.


1

For what it's worth, I've not found a method of creating a GeoTransformation using nothing but the information in a Map, so I've not been able to get ProjectEx() to work. Using Project(), on the other hand, is simple: double x; double y; var success = this.projectLonLat(this.axMapControl1.SpatialReference, -84.3880, 33.7490, out x, out y); if (success)...


0

It looks like your X (Longitude) is coming over as an integer, thus ignoring all the decimals while the Y is coming in correct. When teaching many students using excel would hit a space in a cell making the field come over into ArcMap as a text, preventing you from even being able to plot the points. The CSV option gets around this by stripping away the ...


2

The comment above is incorrect. For work relating to environmental statements - ie for a windfarm OFFSETA needs to be the tip height of the turbine and OFFSETB is the height of the observer (general input of 2m). This is because you want to know if you were standing anywhere within a given radius of the wind farm would you see them. Hence you want to know ...


0

As your DEM data is in a file geodatabase then you will note 3 things about the file names: They do not start with a number They do not have spaces in their names They are unique names As @Paul says in the comment you can create a list and loop through this. You could just use the name of the DEM for the output name of your slope raster, that would be ...


-2

If you have other MXD files open, using the same geodatabase, it will give you this error message. Close your other MXD's that are sharing that geodatabase and then try it.


2

Figured it out everyone. As it turns out ESRI does already know about this problem. Have a look at this article: http://support.esri.com/technical-article/000013243 At version 10.4 - no more support for SQL Server 2008. ESRI tells me Microsoft is not willing to do anything to make it better. They are done with 2008. Thanks everyone!


1

Sometimes what you see on the screen does not translate to what it looks like when printed or exported. To evaluate font/label size, in layout view click the 1 to 1 button. As my comment suggested, try to increase the font size and/or dpi resolution within your export method to enhance the label visibility.


2

Why does it appear squashed? In the TIFF viewer, the map is in the correct proportions. When a Google map of the same area is overlaid, it matches on-the-ground features almost exactly. Google Maps uses a spherical Mercator projection of WGS84 lat/longs, called WGS84 Web Mercator. Earth is not a sphere, so the Web Mercator projection stretches as a ...


2

I just managed to fix the problem. It turns out I didn't correctly assign the cell-properties of the precipitation data as a number in excel.


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



Top 50 recent answers are included