Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
1 answer
154 views

Auto-generated field in ArcSDE for end user

The objective: Create a process where a coworker can open an .MXD, start editing, add a feature to represent a complaint, then add records in a related table to represent an inspection. Along the way, ...
Jacob DA's user avatar
  • 141
5 votes
1 answer
214 views

How to add Unique ID number to a list if rows contain a consecutive sequence (Arcpy)

I am trying to use an Arcpy Python code to identify the Unique ID number for streets that contain consecutive addresses and ignore rows that do not. For example: FULLST | LOR | HIR | UID Gate ...
DanMilRiv's user avatar
  • 109
5 votes
1 answer
2k views

Getting ArcPy autocomplete to work in IDLE?

I want to write scripts in IDLE, but I love how the built in python window in ArcGIS 10.2 automatically fills in the module names as you start typing them. For example, if I type arcpy.Lis..., the ...
Elliott's user avatar
  • 819
5 votes
2 answers
41k views

Merging DEMs in ArcGIS Desktop?

I'm trying to merge some DEMs downloaded from USGS. When I used ArcGIS 9.2 there was an expression to be used in raster calculator to do that. I used it again but, unfortunately, it doesn't work in ...
Streppy's user avatar
  • 61
5 votes
2 answers
28k views

Labeling with two decimal places (rounded) even when second is zero in ArcMap?

I have a benchmark data that need to label. The data where in the field has attribute height like 12.340, 12.400, 13.690. I have to label the height for examples 12.34, 12.40, 13.69.I already used ...
abc's user avatar
  • 51
5 votes
1 answer
5k 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, ...
Electric Data's user avatar
5 votes
1 answer
4k views

Cutting polygon using line - cutter, cut() - using ArcPy?

What I'd like to do, using ArcPy: use a line to split a bunch of polygons into separate parts. Here is what the inputs could look like: In this case the line should split each polygon into two ...
BritishSteel's user avatar
  • 6,657
5 votes
2 answers
6k views

Displaying marker in polygon without converting polygons to points, while maintaining dynamic legend, and exporting map?

The following seems like a straightforward requirement because I recall ArcInfo Workstation having an ARCPLOT command called POLYGONMARKERS available to do the display part 20 years ago. Yesterday I ...
PolyGeo's user avatar
  • 65.4k
5 votes
2 answers
1k views

Prevent parameter defaults in service definition file

I have a Python toolbox with a single tool designed for 10.2. The tool is intended to be a geoprocessing service on a server. So I run the tool, and after it succeeds, I right click the result and ...
jpmc26's user avatar
  • 1,719
5 votes
3 answers
9k 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 '...
Nora's user avatar
  • 569
5 votes
2 answers
4k views

Querying slope data using raster calculator: why are all results true?

I am using ArcGIS 10.2.2. From a DEM, I have created a new raster showing slope using the slope tool. The color scheme was automatically classified into 9 tiers. What I want to do is query this raster ...
Milo's user avatar
  • 137
5 votes
1 answer
21k views

Adding lon/lat grid on map in QGIS 3.0?

I am working through this tutorial that I think was intended for 2.8x - https://www.qgistutorials.com/en/docs/making_a_map.html Step 24 advises on how to add a grid on a map in Layout view. But ...
Regulus's user avatar
  • 113
5 votes
1 answer
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 ...
Dirk HH's user avatar
  • 71
5 votes
3 answers
8k views

Determining Min/Max values from feature class using ArcPy?

I am very rusty/inexperienced in Python. I would like to create a more compact script that prints min and max values of each numeric field from a feature class. Right now I have the code below ...
user29499's user avatar
5 votes
2 answers
1k 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 ...
Howeitzer's user avatar
  • 570
5 votes
2 answers
3k 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 ...
Aaron's user avatar
  • 51.8k
5 votes
1 answer
12k 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 ...
Mon Mo's user avatar
  • 523
5 votes
2 answers
16k views

ArcGIS Online and Sign In options greyed out in ArcMap?

I have just installed ArcGIS for Desktop 10.2.2 on my Windows 7 machine. When I got ArcMap opened up I found the "ArcGIS Online ..." and "Sign in..." options were greyed out. Meanwhile in ArcCatalog ...
alextc's user avatar
  • 2,023
4 votes
5 answers
5k 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 # ...
Jeffrey Rutledge's user avatar
4 votes
1 answer
2k views

Viewshed Analysis incorporating tree height

I'm trying to determine the visibility of a property (polygon) from surrounding sites within the same county. Sounds simple, but here's the catch: it's a solar farm analysis project, and the county ...
wncbotany's user avatar
4 votes
1 answer
511 views

How to cut unwanted area (polygon) using ArcGIS for Desktop?

I am using ArcGIS 10.2 for Desktop with a Basic level license. There are two overlapping polygon. Polygon A (with line stripes) and Polygon B (in beige color). Polygon A and Polygon B is a separate ...
Malina Zainal's user avatar
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 ...
Waterman's user avatar
  • 1,217
4 votes
1 answer
3k views

Definition Query Current Date SQL Server Native Syntax Error 10.2?

I have this definition query that worked for a layer from a file geodatabase. Now the same query will not work from the same layer in an SDE. I am getting a 'SQL Server Native Client Syntax' error. ...
a1234's user avatar
  • 911
4 votes
2 answers
2k views

GDAL grid produces NoData

I have a series of text files that represent X,Y,Z elevation data. I'm trying to use the GDAL grid command line tool to convert these text files to raster GeoTIFs. My files are space delimited and so ...
narmaps's user avatar
  • 692
4 votes
1 answer
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 ...
user32882's user avatar
  • 3,574
4 votes
3 answers
4k 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 ...
chris3o12's user avatar
  • 355
4 votes
1 answer
323 views

Stop Grid Coordinates Overlapping in Print Layout

I have created some data driven pages in the print layout (controlled by atlas) using QGIS 3.4. The grid spacing is set to a fixed interval (20m). This works fine until one of the pages is located in ...
Frank Brown's user avatar
4 votes
1 answer
710 views

Is ArcMap's Fixed Zoom In/Out algorithm documented anywhere?

I only occasionally use the Fixed Zoom In/Out buttons on the Tools toolbar of ArcMap and had always assumed that they zoomed in/out by a set scale factor. However, using ArcGIS for Desktop 10.2, I ...
PolyGeo's user avatar
  • 65.4k
4 votes
2 answers
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 ...
user2581350's user avatar
4 votes
2 answers
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 ...
Jason Reynolds's user avatar
4 votes
2 answers
935 views

Georeferencing CAD Causing Close Out/Shut Down of ArcMap?

I am currently running ArcGIS 10.2.2 for Desktop. I have no other georeferencing issues regarding TIFFs shapefiles, or otherwise. However, when I introduce a CAD (or DWG) file into the map and ...
Skipp's user avatar
  • 41
4 votes
2 answers
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 ...
bhoobler's user avatar
  • 131
4 votes
1 answer
209 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 ...
Howeitzer's user avatar
  • 570
4 votes
1 answer
4k 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:...
Smalis's user avatar
  • 776
4 votes
1 answer
1k views

Arcpy.da.UpdateCursor, Error - Sequence size must match size of row

I am trying to use an UpdateCursor fill in a field but I keep getting an error, can anyone tell me what I am doing wrong? My code is below: import arcpy fc= "C:\Users\Keri\Desktop\GEP_690\Project ...
Keri's user avatar
  • 43
4 votes
4 answers
15k 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 ...
Snickers's user avatar
4 votes
2 answers
274 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 ...
Rich Wawrzonek's user avatar
4 votes
2 answers
468 views

Extract from raster by tightest rectangle mask without Nodata

I'm using ArcMap 10.2.2 and I have a raster that has Nodata around the edges. How can I extract the tightest rectangle from this raster that does not include Nodata? The screenshot may help ...
nokalake's user avatar
  • 179
4 votes
2 answers
2k views

How to export a polygon based on elevations using a DTM or a DEM

I have a LiDAR generated DTM and a DEM (accurate to 10x10 feet). I am trying to export a polygon within a boundary which includes all elevations below a specific number. Seems like this should be ...
user57503's user avatar
4 votes
3 answers
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 "...
GeorgeC's user avatar
  • 8,298
3 votes
2 answers
649 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 ...
Waterman's user avatar
  • 1,217
3 votes
3 answers
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 ...
Shiuli Pervin's user avatar
3 votes
1 answer
5k 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 ...
jc22's user avatar
  • 425
3 votes
2 answers
5k views

Python code to compare two fields in different feature layers?

I have two shapefiles which encompass 3897 features each. Corresponding shapefiles (village and watershed that flows into it) have the same ID (ws_id in one, OBJECTID in the other). Many watersheds ...
Fred's user avatar
  • 187
3 votes
1 answer
652 views

Unzipping geoprocessing package (GPK) file?

I was under the impression that all ArcGIS package files could have their contents examined and potentially used by renaming them to *.zip and unzipping them. This impression is supported for map ...
PolyGeo's user avatar
  • 65.4k
3 votes
1 answer
2k views

Connecting Geoprocessing Service to ArcSDE?

Recently we updated from ArcMap 10.1 to 10.2.2. ArcGIS Server is still on 10.1. We have numerous GP and Mapservices that were published on ArcMap 10.1 and are still running without problems. I also ...
GeoSolve's user avatar
  • 108
3 votes
1 answer
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 ...
JumpInTheFire's user avatar
3 votes
1 answer
567 views

How to automate exporting map for many fields in the same layer?

I need to make a few ~75 frame time-lapse animations where each frame is a map of site status in a given week. Each week's statuses are a different field in a single shapefile. I export a frame of ...
Mon Mo's user avatar
  • 523
3 votes
1 answer
985 views

Find AB_CSRS.gsb for NAD_1983_TO_WGS_1984_8 Transformation

I am trying to change my WGS84 data to NAD83 for Alberta data. My research tells me that I need to use the NAD_1983_TO_WGS_1984_8 Datum Transformation which is in the AB_CSRS.gsb. I can not find this ...
Calavin's user avatar
  • 869
3 votes
1 answer
11k views

Create a Robinson world map with grid and coordinate frame in QGIS Map Composer?

I am trying to create a world map in Robinson projection (ESRI:54030) from the Wikimedia World Map, using QGIS Map Composer. It should have a grid (spacing about 20°, not too bold/aggressive) and a ...
Michael's user avatar
  • 1,196

1
3 4
5
6 7
10