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
16
votes
2answers
3k views

Refreshing imported modules in ArcGIS Python Toolbox?

When using a python toolbox (.pyt) in ArcMap, I'll typically follow a pattern where the .pyt file itself is simply a wrapper to collect input arguments and define the tools themselves. Supporting ...
6
votes
1answer
600 views

Determining whether raster pixels in or out of zone

I am running ArcGIS 10.2.2 and often use the Zonal Statistics and Tabulate Area Tools. I wanted to confirm that the area of a pixel will only be included in the tabulated area if the pixel centroid is ...
5
votes
1answer
1k views

ArcGIS Geoprocesing Service using map service data for input

I'd like to create a geoprocessing service in ArcGIS Server (10.2) which uses an existing map service as input. I have been trying to do this with a ModelBuilder model, but it's copying the existing ...
5
votes
1answer
10k views

how to allow null values in a feature-layer

I'm using ArcDesktop 10.2. I have 30 x,y locations that have 20 fields of numeric data, stored in an Excel spreadsheet. Some cells have no data, and I want those cells to be represented as null values ...
5
votes
3answers
8k views

Loop with arcpy.ListFiles

I'm super new on here and have also not much experience with Python but I really like to learn to work with this language. I'm tying to write a script for this: I think I need a for loop instead the '...
4
votes
5answers
4k views

Why is ArcPy script to apply symbology not working?

This is the first python script I have tried to write and I can't find out why it is not working. All I want to do is apply symbology from one layer to another. Working Code: # Name: ApplySym.py # ...
10
votes
4answers
3k views

ArcGIS 10.2 Query Layer on SQL Server performance

I'm using a Query Layer on SQL Server in ArcMap. The Query Layer executes instantly in in SQL Server but but takes so long to draw in ArcMap that the system appears unresponsive for about 10 minutes ...
9
votes
3answers
5k views

Displaying raster Background Value as hollow for more than one set of RGB values using ArcMap?

I have two overlapping .ecw layers of the same area, though one is clipped in the middle, with a white edge. When I set the background value to 255,255,255, and define it as hollow, it only hollows ...
8
votes
2answers
4k views

Summing attribute values for areas where multiple polgons overlap using ArcGIS Desktop?

I have one shapefile with many polygons (at least 100). Each polygon has a value. Almost all these polygons overlap with each other. I want to sum the values of the polygons in the overlappings depend ...
8
votes
3answers
5k views

Getting ArcMap to recognize csv column as float and not int? [duplicate]

I am trying to show a .csv file (2 columns, 291 rows) in ArcMap 10.2 using Catalog window to drag the .csv file into ArcMap. The second column of the .csv is a floating point number (range is [0-1]), ...
6
votes
1answer
2k views

How to find out if a file geodatabase was compressed?

I work with a bunch of file geodatabases and some of them are compressed. I want to find out quickly which ones are and which aren't. The Compress File Geodatabase Data GP tool doesn't seem to have ...
5
votes
4answers
1k views

Python toolbox tool objects do not remember instance variables between function calls?

I am developing a Python toolbox, and came across a peculiar behavior: The tool objects does not remember any instance variables between function calls. Consider this code: import arcpy class ...
4
votes
1answer
2k views

Merging DEM rasters?

I've been struggling with this problem for awhile. Here is a curvature raster to illustrate the problem. I'm using 10m DEM rasters from the NRCS Data Gateway for a large portion of California. The ...
3
votes
3answers
1k views

How to extract surface from air photo avoiding trees and buildings?

I am working with Drone air images. These are geotiff images and clearly portray trees and buildings. I need to first classify the image according to land cover distribution, then need to remove the ...
3
votes
3answers
2k views

Draw line between points from multiple datasets

I have 2 point datasets and want a tool or script to draw a line between all points in one dataset to all the points in the 2nd dataset. Is it possible? I have tried ESRI "Point Distance" and "...
3
votes
1answer
965 views

How to save geodatabase attachments to disk with updated exif data

I have a folder of photos without xy information. Using a spreadsheet and lots of patience, I attached the photos to their corresponding GPS point as geodatabase attachments. I now need to produce a ...
3
votes
3answers
948 views

Creating polygon from 2 txt files (Parent ID + Coordinates) using ArcPy?

I want to create polygons based on two separate text files: the first one (as parents) lists the Polygon ID (ID_el) and three to four Points ID (IDpt1, IDpt2, IDpt3..) the second contains the Points ...
3
votes
2answers
325 views

Problem using field calculator to add numbers in new field with preceding zeros

I wish to add a field in an attribute table that should work as a georeferencing key. It needs to take into consideration values from a series of fields. The last field is a housenumber and it ...
2
votes
1answer
2k views

How to keep georeferencing from ArcGIS when importing raster into QGIS?

I tried searching for the answer to this, but I didn't see anything, so here it goes: I have previously georeferenced some .png raster images in ArcGIS 10.2.2, and could like to import them into QGIS....
2
votes
3answers
2k views

Automatically add vertex to polygon where vertex of another polygon touches it?

The polygons that I use in ArcMap 10.2 are drawn so that they snap to each other, but never overlap. I've described a general case in the following image: A polygon is defined by the minimum vertices....
1
vote
1answer
2k views

Comparison between two fields of two tables using ArcPy cursors?

I would like to make a comparison between two fields of two different tables with a Python script. Fields for comparison are ROAD_NAME and NAME.ROAD. The idea is to check whether each element of NAME....
0
votes
3answers
7k views

ArcGIS Python Script, Calculate Field

I am trying to write a Python Script for ArcGIS 10.2. #import system modules import arcpy import math from arcpy import env #Set environment options env.workspace="C:/Users/el/ac/script1" # ...
14
votes
2answers
2k views

Understanding min and max values with Mosaic to New Raster?

I have to combine several DEM rasters into one from this source: http://srtm.csi.cgiar.org/SELECTION/inputCoord.asp, so I use Mosaic to New Raster tool. I set up the tool: I input the rasters (all ...
8
votes
2answers
2k views

How to access current job id from geoprocessing script running on esri server?

I want to programmatically access the current job id of a geoprocessing script running on ESRI 10.2. The script is what needs to know the job id, not the caller of the script. While searching, I ...
7
votes
3answers
2k views

How accurate is ESRI world imagery basemap in ArcGIS?

I have an aerial photo which doesn't match up with ESRI world imagery basemap in ArcGIS 10.2. I didn't add the AP or georeference it. It was already in the project when I started. I'd really like to ...
7
votes
2answers
5k views

Using Select By Attribute and Select By Location simultaneously?

Is there an existing tool that would allow to select by attribute and location simultaneously (or near simultaneously) in ArcGIS 10.0+? Assume the data is stored in a file geodatabase, but could be ...
6
votes
2answers
1k views

How to store Python Add-In menu customization/configuration in *.esriaddin file?

There is a gap in my understanding of Python Add-Ins. When I create a Python Add-In it is easy to see where buttons, tools and extensions are implemented as Classes in the *_addin.py script of the ...
6
votes
2answers
2k views

subquery in select by attribute in Arcgis

I have a table with several fields. field A contains the same kind of values as does field B. I tried to select all points where the value in field A does not exist in anywhere field B using query ...
6
votes
1answer
2k views

How to change the dynamic information in data driven pages

I want to ask one question about data driven pages. I plan to create data driven pages to show each parish’s information in Louisiana. Followed is the template I am going to use. I downloaded it from ...
5
votes
1answer
1k views

Creating network from GPS tracks? [closed]

I'm trying to build a network from several GPS-trakcs, to digitize hiking routes on my land. I have several GPX-files from routes I've tracked with the gps. I managed to display them in Arcmap 10.2 ...
5
votes
2answers
2k views

How to enable anti-aliasing in ArcGIS for Desktop?

You can see from the screenshots that QGIS has, in my opinion, much more pleasant on-screen rendering of vector features. I assume there is some sort of smoothing algorithm used in QGIS. Is there a ...
5
votes
2answers
951 views

How would one format an Excel sheet so numeric fields are set to numeric field types when importing to ArcGIS 10.2?

I have a large Excel spreadsheet that contains lots of numeric data that I would like to import to ArcGIS 10.2 as a table using the Excel To Table (Conversion) tool. The frustrating thing is that ...
5
votes
1answer
4k views

Objects in this class cannot be updated outside an edit session inside ArcFM?

I'm trying to add a feature class in ArcMap 10.2.1 that is an ArcFM Feature Class by using a python script. I am working inside an ArcFM session which is required to edit the layer I am working with, ...
4
votes
1answer
158 views

Is it possible to represent points as sparklines in ArcGIS for Desktop?

I have a point dataset with a number of attributes that I would like represent as sparklines (or simple line charts). This is similar to the bar chart symbology found within ArcGIS for Desktop. For ...
4
votes
1answer
2k views

Update xy fields when I move points?

I have a point shapefile in edit mode, containing x and y coordinates. When I move the point to another location, the x and y coordinates do not update to the corrected location. I realize the x and y ...
4
votes
2answers
2k views

Automating a Python expression to calculate acres

I'm not new to GIS but very, very new to using Python and using scripts. I successfully use a Python expression !shape.area@acres! to update a field with acres in a feature class. What my users ...
4
votes
3answers
3k views

How to fill sinks in DEM with specific amount of water

I identified the sinks in my terrain based on the DEM (grid) by using the 'fill'-tool and substracting the original DEM from the filled DEM. I also identified watersheds as well as flow paths. Now i ...
4
votes
1answer
3k views

Python encoding error in ArcPy

I am writing a JSON file, as string input, using python, into a .json file in the file system. However I am getting the following error sometimes and I don't know why. Any ideas? UnicodeEncodeError:...
4
votes
4answers
5k views

Is there a way to remove this thick gray border from my raster symbology in the legend?

I have this problem with different raster layers, in this instance it's land use data. In my layout, and in a rendered PDF of my map, the legend entry for the raster layer has an ugly, thick gray ...
4
votes
4answers
11k views

Concatenating string data plus numeric data in ArcMap field calculator?

I am using ArcMap 10.2.2. I have three attribute fields (Address_No: 1, StreetName: Main, Street_Ty: ST) that I want to merge together. How do I concatenate string data found within the table plus ...
4
votes
2answers
9k views

Arcpy zoom to selected features not working

I'm writing a python script to automatically take some snapshots of my ArcMap in 10.2, but I can't get the zoom to selected features tool to work properly. I have a layer called carereport, which I ...
3
votes
2answers
214 views

Which interface controls 'Place overlapping labels' for a feature layer?

I need to turn on the option to 'Place overlapping labels' for a feature layer via ArcObjects. In the ArcMap UI it is located here: I can get to most of the labeling options from the ...
3
votes
1answer
1k views

How to SUM field and then insert into NULL column?

I am only in the beginning stages of learning Python. I have a column, 'QUANTITY_SOLID', that I want to take the sum of all of its rows. I understand I can do this with 'SUMMARY_STATISTICS', but i'm ...
3
votes
1answer
4k views

Calculating Cumulative Field Values in ArcMap

In ArcMap 10.2, I wish to create a field which contains the cumulative values of another field in the same attribute table. For example, if the first three cells of the original field contained the ...
3
votes
1answer
3k views

Using Iterate Feature Selection export features to new feature class with unique names

I'm trying to use ModelBuilder in ArcMap 10.2 to select features from a large data set (>30,000 features) based on a value in the field "Route" and have those selected features export to a file ...
3
votes
4answers
2k views

Definition Query expression limits in ArcGIS 10.2.2

I have a large database in ArcGIS 10.2.2, with over 2 500 000 point vectors. Each point has a unique number code. I want to spatially subset my data, so that I can extract only points with a specific ...
3
votes
0answers
1k views

How to correctly uncompress and re-compress an msd file using 7zip from command line

I am trying to uncompress and recompress both the msd and sd file so as to tweak some things I want. In fact I want to get inside the layers folder and for each layer.xml file to string replace the ...
3
votes
2answers
2k views

Stratified Random Sampling with large dataset in ArcGIS?

I want to create a Stratified Random Sample with a land cover classification map. The purpose for the Stratrified Random Sample is to produce an Accuracy Assessment. I am using ArcGIS 10.2 with access ...
3
votes
2answers
202 views

Expected result for ZonalStatisticsAsTable MEAN Statistic Type?

I'm getting different results when using the ZonalStatisticsAsTable tool in 10.4.1 when compared to earlier versions (10.2 and 10.3). ArcGIS 10.2: ArcGIS 10.3: But in ArcGIS 10.4.1, the same data ...
3
votes
2answers
2k views

How to convert the SRTM DEM orthometric to ellipsoidal heights using ArcGIS or others GIS?

Recently I got the SRTM DEM from Cgiar,which based on WGS84/EGM96. and I merged the tiles to one tiff file. I want to get the WGS84 ellipsoidal heights. According the steps from the Arcgis Help 10.2 ...

1 2 3
4
5
9