Questions tagged [arcgis-10.2]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
84 views

Using script to list .lyr files with broken links?

I would like to identify within a particular folder the .lyr files that have broken links. Some of these files are within multiple folders but all fall within one folder. My programming knowledge is ...
1
vote
2answers
343 views

Weighted sum vs Weighted overlay

I´m working on a suitability analysis for which I´m doing a sensitivity analysis. When I modify the weights for this analysis I have values with decimals, so I can´t use "weighted overlay" tool. ...
0
votes
1answer
122 views

ECW to KML from ArcGIS Desktop failing to open in Google Earth?

i have some .ECW file and i want to convert to KML to used in another program (AutoCAD).. so i convert this file using conversion tools which is ArcGIS Desktop 10.2 provide.. but i have problem in ...
0
votes
1answer
326 views

Correct Format for UTM coordinates fed to ArcMap “Convert Coordinate Notation” Tool?

I am trying to use Arc's (v.10.2) "Convert Coordinate Notation Tool" to convert UTM coordinates into WGS84. The UTMs are in one column of an Excel spreadsheet as follows: UTM 346677 E 5293198 N ...
2
votes
1answer
509 views

ArcGIS tools say completed immediately but give no output

I have a problem working with ArcGIS. Sometimes (not always) when I run a geprocessing tool, I immediately get the pop-up with "completed" and a green tickmark. However, there is no output created, ...
2
votes
1answer
49 views

Combine multiple adjacent polygons into 1 polygon

I have a third party tool that is creating a color filled area by placing many polygons side by side. I need to combine these polygons into 1 polygon. Unfortunately changing the 3rd party tool is not ...
0
votes
1answer
52 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
32 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
39 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 ...
3
votes
1answer
44 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
103 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
102 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
63 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
56 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
35 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
88 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
1answer
37 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
62 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
44 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
53 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
29 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
51 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 ...
1
vote
0answers
45 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
110 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
146 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
59 views

Generating centerline for polygon using ArcGIS Desktop?

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
66 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
74 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. ...
1
vote
1answer
46 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
52 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
30 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 ...
3
votes
2answers
58 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
104 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
48 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
50 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 ...
1
vote
0answers
33 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
1answer
87 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
119 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
63 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
2answers
246 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
676 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
101 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
296 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
105 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
50 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
120 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
46 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
243 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
21 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....
0
votes
1answer
145 views

Why does "arcpy.FeatureClassToFeatureClass_conversion” Remove the Target Feature Class from the ArcMap Project TOC (Arc 10.2.2)?

I have a script that successfully converts CSVs to Feature Classes. The only problem is that the final line is causing my target feature class to be removed from the Table of Contents in the .mxd. ...