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
178 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
347 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
95 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
97 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
78 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
60 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
97 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
36 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
93 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
165 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
59 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
66 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
40 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
142 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
153 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
84 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
528 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
1k 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
233 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
593 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
138 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
77 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
126 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
57 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
452 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
238 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. ...
0
votes
1answer
152 views

Spatially balanced sampling

I am working with existing groundwater borehole data (borehole location data plus the water quality data) to plan for the future monitoring of the groundwater water using spatially balanced sampling ...
1
vote
2answers
216 views

Why is SelectLayerByAttribute_management claiming “Column Does Not Exist”?

The solution to this question is not working for me. My error message: File "SumAreas.py", line 24, in arcpy.SelectLayerByAttribute_management(fc, "NEW_SELECTION, '"CLASS_CODE" = "A"') File "...
1
vote
0answers
40 views

Symbolizing lines based average value of point (start, middle, end) in ArcGIS Desktop?

There are three points in each line of road network, each point has weight and I want to give the average weight of these three points to corresponding line and symbolized all the lines accordingly. ...
0
votes
1answer
329 views

Correcting Blender Error in ArcGIS Desktop? [closed]

I have a map featuring 4 data frames with the same/similar files in each data frame: esri world imagery basemap, and various shapefiles and feature classes pulling from the network. I reopened the ...
3
votes
2answers
323 views

Why is FeatureClassToFeatureClass tool Failing on Long cell values (Arc 10.2)?

I have written a script to convert a CSV into a Feature Class. The actual line that does the conversion is the very last line in the script in which I call the FeatureClassToFeatureClass tool. Here ...
0
votes
1answer
306 views

Using GPFeatureRecordSetLayer in Python Toolbox for ArcMap?

I have written a Python Toolbox for ArcMap, that allows a user to consume a Template Feature Layer to run through a series of processes. The user defines an Area of Interest (AOI) in the Tool and ...
1
vote
1answer
345 views

arcpy.FeatureClassToFeatureClass_conversion() gives ERROR 000732: Output Location: Dataset … does not exist or is not supported?

I'm trying to write a script to convert CSV to Feature Class (overwriting if pre-existing). Unfortunately my version of Arc (10.2.2) does not have "XYTableToPoint()" so I needed to find another way....
2
votes
1answer
63 views

Why is “arcpy.GetParameterAsText” deleting Target Feature Class?

Originally I asked Why is this Python Script (using XYTabletoPoint) Deleting the target Feature Class?, but have since narrowed down the line that is deleting my target Feature Class. Surprisingly, ...
0
votes
1answer
54 views

Using a base layer from ESRI and converting to a regular layer and “cropping it” also using it for arcScene

How do I modify a baselayer from Esri? I found a great one for my region (much better resolution than the one I was given) but it is way too big and I want to cut out the ocean part of the raster ...
-1
votes
1answer
310 views

Why is Python Script (using XYTabletoPoint) Deleting target Feature Class? [closed]

When I run the following script (using Arc 10.2.2): import arcpy if __name__ == "__main__": # Get Parameters Source_CSV = arcpy.GetParameterAsText(0) Target_FC = arcpy....
1
vote
1answer
69 views

Forcing Python Script Tool Parameter Input Field to Begin at Specific Folder?

I'm setting up a Script Tool (Arc 10.2.2) where the first parameter will be a CSV file chosen by the user, always from the same folder. When the user clicks the first parameter's windows navigator ...
0
votes
1answer
106 views

How to correct the extent of a raster?

How to correct the extent of a raster? According to the metadata of the raster I downloaded, it should be (WGS84): North : 85.044 South : -85.044 East : 180 West : -180 But this is the extend of ...
1
vote
1answer
51 views

Database Connection window inaccessible in background / hidden

I have built an ArcGIS script tool that requires a connection to an external SDE geodatabase. When the script starts, it must first connect to that external Oracle database via the "Database ...
1
vote
0answers
59 views

Creating web map with dynamically rendered symbols for multiple large datasets with ArcGIS?

I am editing an existing ArcGIS Server (v10.2) / Javascript (3x) map-based web app, which has several dynamic map services, some of which contain over 50,000 points. The new web app must be able to ...
-1
votes
1answer
55 views

What Arcpy Functions (in proper sequence) will Convert CSV to Feature Class? [closed]

I have about 10 standard CSVs that are occasionally used to update (overwrite) their related shapefiles in Arc. The CSVs have different quantity and names of their fields. Their fields can also be a ...
0
votes
0answers
41 views

Running analysis code written in PostGIS from ArcGIS

I wrote some sql queries for PostGIS which does GIS processing, involving point/polygon feature and raster data for land covers. I originally wrote it in ArcPy and arc tool box but performance was ...
0
votes
2answers
97 views

How do I .replace/remove within labelling [closed]

I would like to remove N_A and N123#N123 from my Labels. How do I do that? So far: str([RTN]).replace('N_A',' ') I still Need to remove the eg. N123#N123 as well from the Labels, but keeping the ...
0
votes
1answer
102 views

Defining per request modification of layer order and symbology using ArcPy?

My web app will (hopefully) use dynamic layers with symbols that are rendered dynamically, based on a user chosen attribute. So far I am doing this by defining a UniqueValueRenderer, then passing ...
2
votes
1answer
44 views

Matching cities to values in .tiff file using ArcGIS Desktop?

I am new to ArcGIS Desktop. I have a list of cities and their longitude/latitude (as a .csv). I have another .tiff file which contains a map of the world records values on a 5' x 5' grid cell (this ...
2
votes
0answers
27 views

Cost back link tool

I am trying to use cost path analysis to create a least cost path from ports around the UK to various offshore locations. To do this I have created a cost raster grid with values of 0 for land and 1 ...
0
votes
1answer
417 views

Querying multiple values in field using ArcGIS ModelBuilder?

This is part of a much larger project in modelbuilder. I want to use the make feature layer tool to query a field that has multiple values in each record. For example, the field name is "Animal" and ...
1
vote
1answer
209 views

Making feature layer based on attributes (2 columns) in ArcPy? [closed]

I'm new to Python, but know this tool can solve my problem. I have a large dataset and I want to extract layers based on the attributes of two columns. For example, my dataset has columns A-N. In ...
0
votes
0answers
47 views

Using iterator to merge Excel files into Shapefile with ModelBuilder for ArcGIS Desktop?

Using ModelBuilder in ArcGIS 10.2 I want to iterate through a folder containing .xls-files, convert them to tables, and merge them into one Shapefile. I tried the script Excel To Table, with and ...

1 2
3
4 5
59