Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arcgis-10.2]

Use this tag when ArcGIS 10.2 is the version you are using from the ArcGIS platform.

0
votes
1answer
25 views

How can I insert odd and even number in attribute table for selected feature in Arc Map?

I work with addressing, in right site of street must be inserted even number, and in left site of street must be inserted odd number in attribute table. Is there any code to insert odd and even number ...
1
vote
1answer
21 views

Script error in ArcGIS 10.2

I have a problem when using some geoprocessing tools in ArcGIS 10.2, such as "Merge". The message that appears is an error has occurred in the script on this page. I've seen this is a quite common ...
0
votes
0answers
33 views

Why is Append_Management failing on just 2 (out of 9) table columns?

In Arc 10.2 I have a script tool that uses arcpy.Append_management() to transfer .csv data into a freshly truncated feature class table. It works perfectly on all .csv tables except one in which it ...
1
vote
1answer
19 views

Is there a built in way to reduce the amount of points in an IElement

I have a polyline element and I want to reduce the number of points (vertices?) that make up the line. I know it will make the curved sections jagged and that is fine. I just want to control (perhaps ...
0
votes
1answer
19 views

Preventing Append_management from adding target to Table of Contents? [duplicate]

I am using ArcGIS Desktop 10.2. I have a script that successfully converts a .csv into an already-existing feature class by first truncating the feature class table and then using the following line ...
1
vote
1answer
17 views

AlterField_management not changing Field Name?

I am trying to change field name of shapefile using AlterField (Management) tool for multiple feature class and multiple field name (same in all fc) import arcpy from arcpy import env env....
0
votes
2answers
43 views

Sharing ArcMap with router and simultaneously two or more than two users can data entry in attribute table?

I have two computer, one router and I want to share ArcMap and simultaneously from two computer filling the attribute table.
2
votes
1answer
29 views

Convert an IFeature to an IElement to display on the graphics layer

I have read some posts and looked at a few different examples but I am still having a problem. My problem seems to lay with the location of the IFeature's shape, they are coming back as x= 590241....
0
votes
2answers
26 views

How to Prevent Final (Unnecessary) Selection Box in Script Tool Input Parameters via Validation Script?

Using Arc 10.2.2. My script tool's interface has its first parameter populated by the following snippet of validation script: def initializeParameters(self): # Source Folder dir_f = r'Q:\...
4
votes
1answer
62 views

Reshape ILineElement with ISelectionTracker in graphics container

End goal: Allow user to move points on a ILineElement using the selection handles from ISelectionTracker. Issue: Using my code below I am able to get the handles to appear on the line element, but it ...
0
votes
0answers
15 views

ArcGIS online, download and upload with attachment?

I have a layer created in AGOL. It has file attachments in a column. I downloaded it as a FGDB. I did some analysis and created a new file within the same geodatabase. I uploaded it back to AGOL but ...
0
votes
1answer
30 views

Detecting failure of Data Access Insert Cursor?

I have data that I have now determined is failing because the underlying Oracle table has a unique constraint that fails. When a duplicate row is inserted there are no exceptions thrown - no way ...
-1
votes
2answers
52 views

Distance measurement

I have calculated NDVI, now I would like to measure the distance from the places which have more vegetation concentration to low to bare concentration areas. which tool in ArcGIS 10.2 will be suitable ...
1
vote
0answers
21 views

ArcGIS C# RubberPoint.TrackExisting not working

I have a simple marker symbol I have drawn on the map. I am trying to use a rubber band to drag-move it to a new location. I think I am close because when I use .TrackNew instead of .TrackExisting the ...
0
votes
3answers
43 views

If then question with raster calcuator

I have several buffers to be added together (Cold, Hot, Raining, etc.), but they only need to be added if they exist. So I currently have create buffer if Cold else no buffer. (I did convert polys ...
0
votes
0answers
27 views

Make graphics clickable instead of create new graphics in map

So, I have a map with a MapOnTouchListener on it. I have overridden the OnSingleTap method (allPoints is an array where all markers are added for non-related to this question functionality): @...
0
votes
2answers
28 views

Geoprocessing from in-memory layer

I have a .csv file with 3 fields: lat, long, and value. I'd like to create a Thiessen Polygon raster from this file in Python without creating intermediate datasets. Here's what I have: # Create ...
0
votes
0answers
44 views

ArcGIS: Pass in a value to an Arcade expression

Is it possible to pass in a variable to an Arcade expression? I have an expression like the following example: var myVar = 0 IIF( myVar == 0, $feature["Age0_4T"], IIF( myVar == 1, $feature["...
1
vote
0answers
39 views

Best format for GDAL to ESRI

I'm trying to create a 30 meter, Int16 raster covering the entire continental US using Python/GDAL. This raster will ultimately be used to do raster algebra in ArcMap by downstream users. Ordinarily ...
0
votes
1answer
32 views

ArcGIS: Adding labels to 2D FeatureLayer in JavaScript 3.25

Is it possible to add labels to a 2D FeatureLayer in ArcGIS using the JavaScript 3.25 API. I can only find examples that use Javascript 4.8 and 3D scenes. The following code doesn't show anything: ...
0
votes
1answer
30 views

ArcGIS: Get layer by name using Javascript API and modify it

I'm very new to ArcGIS and I'm developing a custom widget in the ArcGIS WebApp Builder that will allow me to change the style attribute of a specific layer in my map. To manually change the style ...
1
vote
1answer
37 views

Generating centerline for polygon - ArcGIS

How could I generate a nominal centreline for a polygon and then generate lines perpendicular to this centreline at regular intervals? I've explored generating a centreline using the tools here: http:...
0
votes
2answers
43 views

Calculating width of polygon relative to polyline using ArcGIS Desktop?

I need to estimate the different widths of the polygons that surround some polylines. The polygons correspond to wetlands (buffer zones) and the lines represent the rivers. The catchment that I´m ...
0
votes
3answers
67 views

Changing coordinate of point shapefile in ArcGIS using ArcPy? [closed]

I'm working on coding a function in ArcGIS trying to measure the number of pixels between a point (feature class) and its nearest building horizontally within a UDEM raster, then return the number. ...
0
votes
0answers
16 views

Change POPUP content on _maxButton click

I am working with a pretty standard Esri map with some clusters. You click on one of the markers and you are presented with a popup window, small size. When you click on the maximize button it ...
1
vote
1answer
33 views

Converting Multipart annotation to Singlepart causes stale record

When converting a feature-linked multipart annotation to a singlepart in either the context menu within ArcMap, or with the ArcObjects interface I am left with an annotation that becomes stale. ...
1
vote
1answer
26 views

Is it possible to migrate users from one ArcGIS Server instance to different one

We are planning to consolidate 2 ArcGIS Server instances, by migrating all services and users from one into the other. So users are stored in json files: { "username": "foo", "password": "...
0
votes
1answer
19 views

Getting dataframe extent from a polygon and exporting to PDF issue

I created a script to get the extent of a polygon, apply it to the data frame extent, and then export the layout as a PDF. However, I'm not getting any errors but the script is printing out at a ...
0
votes
0answers
29 views

Drawing Order Of Vertices in ArcMap?

I'm using ArcMap 10.2 with Advanced license. Based on polygons vertices, how do I create a point shapefile that has in the attribute table a field containing the order of drawing these points? I ...
3
votes
2answers
46 views

Aggregating polygons with Basic level licence of ArcGIS Desktop?

I need to aggregate near-by polygons, but it has to work with a Basic ArcGIS Desktop Licence. I can't use the Aggregate tool (only Advanced) and I can't use the buffer tool, because the rounded edges ...
0
votes
1answer
33 views

Finding and replacing strings with accented characters using ArcPy UpdateCursor?

I have a number of feature classes in which some records in the attribute tables need updating with new information. However the strings to replace aren't found in the UpdateCursor due to the ...
1
vote
0answers
23 views

Domain values in Attribute sidebar window drop down not reflecting values in Domain properties after editing values in Geodatabase Domain

I have a File Geodatabase with a Domain called "Pipe Material" and it has about a dozen values listed in it. These have been applied to feature classes for a bit. We recently reduced the number of ...
1
vote
1answer
48 views

Calculating mean between the intersection of two polygons

I need to calculate the mean value (for a specific field of the attribute table) at the intersection of many polygons (.shp). I converted the polygons to raster based on the value I want to use to ...
2
votes
1answer
23 views

Automatically locating endpoints (river sources) in a stream network

I have a stream network in ArcGIS 10.2.2 and I would like to know if it is possible to automatically add endpoints based on the stream network. The network is pretty big and doing this manually ...
0
votes
0answers
14 views

Reclassifying raster dataset that is output of Mosaic to new raster?

I am trying to apply the reclassify tool on a .tif raster dataset that I produced with the tool Mosaic to new raster. I can run the tool and I receive no error messages, however the resulting values ...
0
votes
1answer
26 views

Identifying/exporting adjacent polygons in ArcGIS Desktop?

I have many polygons (US Counties) with agricultural land data in them. I would like to identify and export (ideally into excel) the data from the counties that are adjacent to the ones with ...
4
votes
2answers
85 views

Forcing ArcMap to Ignore Double Quotation Mark In CSV Text Field When Exporting to Shapefile?

In ArcMap 10.2 I'm following this workflow: Add .csv to map. Right click .csv, --> "Display XY Data" Right click XY Event Layer, --> "Data" --> "Export Data" --> save it as a shapefile. There are ...
1
vote
1answer
44 views

How to union all geometry of selection in one shape with PostgreSQL? [closed]

I’m using PostgreSQL with ArcGIS functions. So I trying to union all geometry of selection in one variable with sde.st_union geometry function. Then I want to insert it to another table with scene_id ...
0
votes
0answers
7 views

Replacing URL with single word but retaining link using ArcGIS Report Viewer?

We are using ArcGIS Desktop 10.2. We have created a report from a dataset and one field is a URL. We are editing the report in Report Viewer. We want to keep the URL active for the user but want to ...
0
votes
0answers
28 views

In ArcMap my domain drop-down menu is not showing up in attributes despite being assigned to field

I have a dataset with field "Source", in my GDB I have a Domain called "Source" with half a dozen options in it. I have assigned this Domain to the dataset's "Source" field in the GDB properties. ...
0
votes
1answer
71 views

Error 000732 - Input Layer “does not exist or is not supported” when using 'ApplySymbologyFromLayer_management'

Using Arc 10.2 I am getting the following error message... ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Layer: Dataset Q:\Data\Infrastructure\Infrastructure....
1
vote
1answer
133 views

Calculating length of polygon in ArcGIS Desktop?

I am using ArcGIS 10.2.1 Desktop with an Advanced license. My company has electric lines that go through people's yards. The areas around these lines require trimming occasionally, which necessitates ...
0
votes
1answer
36 views

Grouping points into polygons ArcGIS

I am using ArcGIS 10.2.1. I have a set of clustering points. I am trying to create a zone for these points. Is there a tool or script to group the points in an area and convert them to a polygon? I ...
0
votes
1answer
53 views

Select Duplicates in ArcMap Attribute Table

I am trying to select duplicates from a feature class in a file geodatabase using the ArcMap Attribute Table. The query I am using is: Address_ID In (SELECT Address_ID FROM "FoodRoutes_20180615" ...
2
votes
1answer
69 views

Using ArcMap I want to add new Fields into a gdb using Python [duplicate]

I'm new learning as I go, I have read some of the Answers posted, and I've gotten this far, I was able to add a new field to a GBD, I wanted to have the Length be 50, but it created a field with 255, ...
-1
votes
1answer
20 views

Writing Nested Loops Using SelectLayerByAttribute_management Iteratively over Multiple Fields?

I need to select all rows matching specific values across 3 columns and then iteratively change one value at a time and continue making selections. The reason is to capture certain summary statistics ...
0
votes
0answers
104 views

Why is Loop in Python Script Tool Validation only Looping Once?

My Python Script tool (ArcGIS Desktop 10.2) has two getParameterAsText inputs. The first parameter is populated by the initializeParameters(self) module in the validation script which selects all ...
1
vote
1answer
33 views

error “ x2 = ptFC2XCoordDict[i+1] KeyError: 1” python [closed]

I don't understand why it doesn't work, i used this script three days ago and it totally works, i start today but i just changed my files and one field "Id_u" . I changed this line: arcpy....
1
vote
1answer
64 views

Update feature class' data via Python Script Tool without removing layer from .mxd?

I have an mxd with 20+ Feature Classes all with varying degrees of 'formatting' (i.e. most are organized in groups, some are filtered with definition queries, and all have their own unique symbologies)...
0
votes
0answers
18 views

Calculating percentage of two hold in two different shapefile [duplicate]

I have two big datasets of different species. One shp is point which shows the location of species, and the other file is in polygon of same places and has got attribute table of public and free holds....