Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [arcgis-10.4]

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

Filter by
Sorted by
Tagged with
13
votes
5answers
1k views

Looping through 16 million records using ArcPy?

I have a table with 8 columns and ~16.7 million records. I need to run a set of if-else equations on the columns. I've written a script using UpdateCursor module, but after a few million records it ...
8
votes
2answers
3k views

How do I include 64 bit python with ArcGIS 10.4 install?

I recently updated to 10.4 and was hoping the 64 bit python install was automatic, but apparently it isn't. I can't remember what I did in 10.3.x to get the 64 bit python. Does anyone know how to ...
8
votes
2answers
1k views

Why is there a difference between NDVI using Sentinel 2, in ArcMap & QGIS?

I have been trying to calculate the NDVI for a scene using Sentinel 2 bands 4(red) & 8(NIR). I first did it in ArcMap and then QGIS. In both softwares, I used the raster calculator and included ...
8
votes
1answer
261 views

Adding exit command to ArcGIS Python script tool?

I have a GIS script tool that creates a copy of an mxd, sets a definition query and exports a set of data driven pages based on the definition query. After it's finished exporting it deletes the mxd ...
7
votes
1answer
468 views

Displaying percentages next to legend items in ArcMap?

I'm using ArcMap 10.4.1 and I have a map showing points on a map. Each point represents a measurement of a specific radio frequency and has an attribute of signal strength. The legend displays ...
6
votes
3answers
2k views

What's wrong with my ArcGIS - PostGIS setup?

I have installed ArcGIS and PostGIS, and I'm having a hard time connecting them. I've imported some shapefiles into PostGIS and I can see them and manipulate them in pgAdmin. The trouble is that I ...
6
votes
4answers
2k views

Adding python packages to ArcGIS?

I am using ArcGIS 10.4.1 which comes bundled with Python 2.7.10. I am aware of the fact that to install external python packages, one needs to install "pip". I already have "pip" as "pip" is pre-...
6
votes
2answers
2k views

List layers from current view using Arcpy

I am using ArcGIS 10.4.1 and Python 2.7.10. I have a mxd file of a rather large area which contain hundred of layers. I wish to work in a specific sub-area in that workspace, where only a few layers ...
6
votes
1answer
273 views

Why doesn't the Python window in ArcGIS autocomplete arcpy.Describe objects?

I do a lot of testing in the Python window in ArcGIS Desktop (10.4.1). It's great, especially because it autocompletes code for me. It will autocomplete for most objects: However, something that has ...
6
votes
3answers
241 views

Using ArcGIS to extend a polygon in one direction up to the edge of another polygon

I have two shapefiles: the first containing a route defined by a single polygon (black line in the image below), the second containing a series of between 1000 and 4000 small polygons located ...
6
votes
3answers
773 views

Wrong min value from ArcGIS 10.4 zonal statistics as table

I used the zonal statistics as table tool in ArcGIS10.4 to calculate SRTM, the in_zone is a gridded shapefile, the in_value_Raster is the SRTM extracted for the region as in the image (90m x90m). The ...
6
votes
3answers
2k views

Fresh Install of ArcMap 10.4 Stalls on “Loading Document”

I have just installed the trial version of the ArcGIS for Desktop which contains ArcMap on my Windows 7 Pro 64-bit. I haven't been able to launch ArcMap, ArcScene or ArcGlobe yet. As of ArcMap it ...
6
votes
1answer
122 views

Cursor missing in table view of ArcGIS for Desktop?

In QGIS attribute tables there is a blinking cursor when editing data in tables. This is a very helpful feature that makes the orientation esp. in longer attribute values quite easy, or even just ...
5
votes
1answer
2k views

Disabling on-the-fly projecting in Arcmap?

Using Arcmap 10.4.1 I'd like to temporarily disable on-the-fly projecting, so as to be able to visually see the spatial offset between two vector layers with differing CRS and/or transformations. A ...
5
votes
2answers
907 views

Copy Enterprise Geodatabase to new SQL Server - will it work?

ArcGIS Desktop 10.4.1, ArcGIS Server 10.4.1, SQL Server Enterprise GDB We need to make an exact copy of an Enterprise GDB (SQL Server) and move it to a new server. Besides changing connection ...
5
votes
1answer
930 views

Choosing cell size in LAS Dataset to Raster Tool [duplicate]

I am creating a raster from an LAS Dataset (LAS Dataset represents only the ground return). I am wondering how do you choose the sampling size? (which I have set to cell size) My point spacing is ...
5
votes
2answers
264 views

Does ArcMap sometimes incorrectly skip datum check between GCS_WGS_1984 and GCS_GDA_1994? [closed]

My original test (included at the bottom of this question) did not match completely the circumstances in which I see ArcMap unexpectedly skip a datum check between GCS_WGS_1984 and GCS_GDA_1994. This ...
5
votes
1answer
164 views

ArcGIS: Legend patches turn black with negative contrast

I have a problem I've never seen before in ArcGIS (Desktop 10.4). When I use the Image Analysis Window (or symbology settings), the raster DEM in the background changes accordingly... HOWEVER when I ...
5
votes
2answers
167 views

Unfolding polygons and other feature classes in Antarctica-like fashion using ArcGIS Desktop?

Is there a way in ArcGIS Desktop 10.4 to 'unfold' (reshape/modify) feature classes, e.g. a polygon of a circular city, to make them look similar to a Mercator or plate carrée projection of Antarctica, ...
5
votes
2answers
695 views

Add secured WMS service from Geoserver to ArcGIS 10.2 to 10.4

I have a Geoserver running with multiple accounts (secured via Geofence). Each account has access to a certain workspace. In Qgis I am able to add data from any account using the WMS service. The ...
5
votes
0answers
351 views

Taking ArcGIS feature class to pandas pivot table? [closed]

I'm new to pandas and am trying to create a pivot table based off of two fields - DIVISION and MATERIAL. I'd like to count each occurances of each value. Rows would be DIVISION and columns would be ...
4
votes
1answer
529 views

Using ArcGIS Field Calculator to populate number field from text field?

I'm trying to assign speed values to street types using TIGER street shapefiles. So I created the new field for the speed, and I was going to use the field calculator to take the MTFCC classifications ...
4
votes
2answers
89 views

Identify and delete all unrequired fields from Shapefile using ArcPy

I have some Shapefiles inside one Folder and for the sake of data compression I want to delete all fields from Table of Content that can be removed (that are not required)! What I have: What I ...
4
votes
2answers
334 views

Python script in ArcMap Field Calculator giving Error 000539: SyntaxError: Invalid Syntax?

I've been trying to calculate this expression for a field in an attribute table in ArcMap 10.4.1, and keep getting the following error: Error 000539: SyntaxError: invalid syntax (expression, line ...
4
votes
2answers
123 views

Can ArcGIS geoprocessing tools be used in ArcGIS Field calculator?

Can you put ArcGIS geoprocessing tools such as arcpy.SelectLayerByLocation_management() or arcpy.MakeFeatureLayer_management() into the code block of the ArcGIS Field-calculator (ArcGIS Desktop 10.4)?
4
votes
3answers
208 views

Why is incorrect Travel Time: < 1 minute being reported by ArcGIS Network Analyst Find Route?

I have configured a network dataset using ArcGIS 10.4.1 for Desktop and am testing it using the Find Route tool. Results are as expected except that on the Directions tab the Travel Time is always ...
4
votes
1answer
498 views

Calculating distance from point to polyline

I am using ArcMap 10.4.1 - Basic use. I have to determine for each point (leak), how many lines (pipes) there are within a certain distance (Spatial join - within a distance of). Then I have to ...
4
votes
1answer
265 views

Export summary statistics to other format than Excel

Is there a tool from the modelbuilder that is able to export a summary statistics table to .csv instead of .xls? As I need to standardize the solution in modelbuilder, so preferably via modelbuilder. ...
4
votes
1answer
577 views

Automatically moving overlapping features using ArcGIS Desktop?

I am using ArcGIS 10.4.1. I make a map. I am have two shapefiles: one polyline and one polygon. The polyline is a road and polygon is a building. The shapefiles overlap. I want to automatically ...
4
votes
1answer
1k views

Geopackage Error - 'is mounted and in WAL mode, this combination is not allowed'

I am trying to find a replacement for shapefiles when sharing geospatial data. I am testing the geopackage format and with QGIS 2.18.2, I can create a geopackage and add additional layers to the ...
4
votes
1answer
408 views

Adding fields by user input in ArcPy?

I'm new to Python and I'm trying to create a script which adds fields to a feature class. The provided script is running well, but I want to create an additional parameter, which asks for the required ...
4
votes
1answer
181 views

Displaying Images in an Image Coordinate System

I'm trying to programmatically do what's explained here. ('Focus on Image' to display an image in the Image Coordinate System. I'm using a mosaic Layer to load an oblique dataset. Currently I'm able ...
4
votes
1answer
414 views

Extract Multi Values to point error table was not found

Newbie to arcpy. Tried using this tool after successfully using Extract Value to Point tool with same data. I received the correct data appended to the attributes table. I would like to use the ...
4
votes
1answer
424 views

no popup menu with “right-click” on layer

I am trying to work with ArcGIS 10.4 on a MacBook Pro (OS X El Capitan 10.11.5) using Microsoft Windows via Parallels Desktop 11. "Right-click" in this context normally = "control-click." No matter ...
4
votes
1answer
459 views

How to change default annotation properties in ArcMap 10.4?

I am trying to figure out how to change the default properties of an annotation feature class in ArcMap 10.4. I see the "Text Symbol" box when I double-click on the "Default" category under my ...
4
votes
2answers
644 views

Is ArcGIS for server 10.4 incompatible with the Silverlight API with regards to dynamic map layers?

We are currently using the Silverlight API version 3.0 and whenever we try to initialize an ArcGISDynamicMapServiceLayer from a 10.4 server we are getting InvalidCastException Unable to cast object of ...
4
votes
1answer
57 views

Assigning accumulating numbers to events along a (river)network

I have a river network along which there are lake polygons that I want to assign orders to. So from headwaters to downstream I want the order to increase depending on the number of previous lakes. As ...
4
votes
2answers
742 views

Excel table losing color in over half of the highlighted cells when exported from ArcMap 10.4 to PDF

I'm trying to add a table to from Excel into layout view. Bringing it into Arcmap it holds the color in all the highlighted cells and looks perfect. There are about 85 highlighted boxes (out of 740) ...
4
votes
1answer
910 views

Attempted unsupported operation with Raster Catalog in ArcMap? [closed]

I recently installed ArcGIS 10.4 on my Windows 10 machine. I upgraded from ArcGIS 10.3.1. After upgrading, I noticed when I add a raster catalog to a map and go to the properties, it displays an ...
4
votes
0answers
131 views

Check for mxd write access with python addin

I'm looking for a way to check for write access to an mxd upon the initiation of a python addin tool. My tool should only be enabled if the user has write access to the mxd. I thought there was a way ...
4
votes
0answers
114 views

ArcGIS Annotation Font Symbol Collection [closed]

Is there a way in Arcpy, to loop through the symbol collection to get back some attributes of each item in the symbol collection list (symbol ID, symbol name, font size, etc.)? I need to do this in ...
4
votes
0answers
682 views

Geoprocessing Service crash while executing [closed]

I have created a geoprocessing service, which can print a webmap(JSON) to a PDF or PNG. The ArcGis for Server and ArcGis for Desktop are running on my workstation. The Website, which host my webmap ...
3
votes
2answers
240 views

Calculate all 'Null' integer fields to '0'?

Is there an easy way to calculate all Null integer fields to 0 in a GDB? Selecting Null values and field calculating each column to 0 is not a viable option as I need to do this for a few hundred ...
3
votes
2answers
2k views

Using fieldinfo.setVisible in ArcPy?

I went through the documentation, and searched around but wasn't able to figure this out. What I want to do is export shapefiles, but have certain fields turn off. I was successful in turning off ...
3
votes
1answer
442 views

Removing white space from field using field calculator

I am trying to remove extra spaces from values in a field programatically using a python script. This is the script I'm using: field1 = "FULLST_NAME" calc1 = "s.join(!" + field1 + "!.split())" s = "\'...
3
votes
2answers
1k views

Installing Python for ArcPy with ArcGIS Desktop and ArcGIS Pro?

I am trying to learn Python here. I have ArcGIS Desktop 10.4 and ArcGIS Pro 1.3 installed in my machine. I understand that products install Python 2.7 and 3.2. Do I still have to download Python in ...
3
votes
1answer
104 views

Determining area calculations in edit session uisng ArcGIS Desktop?

Does anybody know how to determine area calculations for polygons during an edit session using ArcGIS Desktop 10.4? I want to be able to see the size of the polygons in hectares as I edit them or ...
3
votes
1answer
189 views

Numpy Array to ArcGIS GRID gives ValueError?

I have a numpy array saved to disk ( the numpy array is a depth image from a Kinect 360) and I want to convert that numpy array to an ESRI GRID. I have the simple code below to accomplish that task ...
3
votes
5answers
2k views

ArcMap 10.4 Model Builder Geoprocessing tool gets broken

I created a model and added "Iterator Feature Classes" and "Clip". I run the tool and everything works. But when I save the model and restart ArcMap the tool gets broken. I can't open the "Clip" tool ...
3
votes
2answers
389 views

Count duplicates in ArcGIS, ArcMap 10.4

How can I find how many duplicates I have in my dataset (areas, lines, points) using ArcMap? With topology I can find overlapping objects, but I want to find duplicates. Are there any tools from ...