All Questions
3,108 questions
4
votes
1
answer
3k
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
1
answer
209
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
1
answer
771
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
1
answer
79
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 ...
1
vote
1
answer
1k
views
Get child layers from a layer group
I'm using a geoserver and openlayers3 with html. I cannot find the way to obtain the child layers from a layer group. I have a layer group, and I show it in html perfectly, but what I want is to be ...
0
votes
0
answers
171
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
1
answer
231
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
1
answer
306
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 ...
2
votes
1
answer
448
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
2
answers
85
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
1
answer
247
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
2
answers
71
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
1
answer
153
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 ...
1
vote
1
answer
203
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 ...
-2
votes
2
answers
84
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
0
answers
89
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
2
answers
307
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 ...
2
votes
0
answers
76
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
1
answer
434
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
1
answer
1k
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
1
answer
811
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
2
answers
375
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
3
answers
396
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
1
answer
113
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
1
answer
309
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": "...
2
votes
2
answers
2k
views
Replace several coordinates by its mean value grouped by multiindex Pandas
I have a table with some info that are getting by a GPS, in my table I have this structure:
Date Time Latitude Longitude Accuracy Weather Visibility ViewPoint Species Bearing ...
0
votes
1
answer
186
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
2
answers
362
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
1
answer
462
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 ...
3
votes
0
answers
215
views
Grouping neighbor points based on field sum in QGIS
I have about 14,000 points. These points have a specific field "time", an integer value, mainly between 1, 2 or 3.
I would like to split these 14,000 points into groups based on the "time" field ...
1
vote
0
answers
112
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
1
answer
195
views
Calculating mean between intersection of two polygons using ArcMap
How do I 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
0
answers
63
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
1
answer
217
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
1
answer
375
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
1
answer
351
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
2
answers
2k
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
1
answer
2k
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
1
answer
661
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 ...
5
votes
1
answer
1k
views
Grouping GeoDataFrame by column while comparing feature area and adding values to new column with GeoPandas
I have these columns: "index", "area_of_poly", "cad_admin" in my GeoDataFrame, the dataset is available here: http://www.mediafire.com/file/x4q5k7xuztq6o3w/p.zip.
Now, I ...
0
votes
1
answer
2k
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
1
answer
197
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
1
answer
100
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 ...
1
vote
1
answer
2k
views
Extract and sort x coordinates in groups from a column to a new one in geopandas?
I am working with geopandas
There are these columns:geo,cat and I have to make the new column called
rank.
rank should contain according to the groups with the similar cat number an increasing ...
0
votes
0
answers
184
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 ...
0
votes
1
answer
339
views
Filtering out clusters of features based on collective area threshold using QGIS/python?
I have a map I generated that roughly estimates timber industry land ownership (designated by the green on the map) in the counties surrounding the Salish Sea in the US state of Washington:
I want to ...
1
vote
1
answer
75
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
1
answer
1k
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
0
answers
22
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
1
answer
674
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.
...