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

Create a line perpendicular to an existing line in ArcGIS

For an existing set of line features, I would like to generate a perpendicular line, of say 1km, at the midpoint of each existing line feature in ArcGIS. I imagine that The methodology would be to: ...
Will McInnes's user avatar
2 votes
1 answer
672 views

Using ArcPy to populate turn feature class for Network Analyst by reading edge identifiers from separate table?

I am using ArcGIS 10.4.1 for Desktop with a Standard level license and the Network Analyst extension. It does not seem to be possible to create an ArcGIS network dataset except via manually running ...
PolyGeo's user avatar
  • 65k
1 vote
1 answer
245 views

ApplySymbologyFromLayer_management sets polygon outlines to default

I'm struggling with an issue which I think is a bug in arcpy. I am using AddSymbologyFromLayer_management to apply the symbology from a reference layerfile (yes, an actual layerFILE, not a layer ...
s6hebern's user avatar
  • 1,226
6 votes
3 answers
2k 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 ...
liamvharris's user avatar
3 votes
1 answer
874 views

Calculate radius of gyration (average distance between cell and centroid cell)?

Radius of gyration (in the field of ecology) is a measure of the spatial extent of a habitat patch, and is defined as the mean distance between each cell in the patch and the patch centroid (cell-...
K. Credo's user avatar
  • 256
2 votes
1 answer
51 views

Prevent Export to CAD to add exported data to the map

Is there a way to prevent ArcMap from automatically adding Export to CAD results to the current map? Export Data gives you the choice when the operation is completed but Export to CAD does not.
Jason's user avatar
  • 53
2 votes
3 answers
888 views

System tool which is ArcPy/Python script will not run and error is blank using ArcMap

When I try and run any script tools from ArcToolbox, the red X icon shows up next to the input features line, but there is no error when I hover over the X. If I proceed with the tool and click OK, I ...
ilanamichelle's user avatar
1 vote
0 answers
87 views

After splitting a line into 3 equal parts, the resulting parts are non-continuous

I have lines that I want to split into 3 equal parts, in order to check that my sampling points are in the last third of the line. I used the editor and the split function as shown in the photo 1, the ...
Alfonso Sola's user avatar
1 vote
1 answer
159 views

Creating polyline segments by points in maximum distance to each other along another polyline using ArcGIS Desktop

I have a polyline and point layer. The polyline layer contains different roads. The point layer contains points along these roads with random distances between the points. The points are also listed ...
panka's user avatar
  • 107
1 vote
1 answer
563 views

Pivot table - Get counts of values in field by key field

I'm trying to create a pivot table which displays counts of unique values per a key field: I've tried a combo of PivotTable and Statistics but the results are not correct. The PivotTable doesn't ...
Emil Brundage's user avatar
0 votes
1 answer
83 views

Is there a way to classify simple non-spectral images in ArcGIS?

I was wondering whether there's a way to classify simple non-spectral TIFF images in ArcGIS (maybe based on similar colour values of image pixels like graphic software applications such as Photoshop ...
M_S's user avatar
  • 353
0 votes
2 answers
780 views

ArcPy importing error after setting path?

This questions has been asked before too and I did go through most of the suggestions. Things I have tried so far: setting up correct path variable environment, installing anaconda 32 bits, python 2....
Wisconsin's user avatar
7 votes
2 answers
2k 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 ...
cf2's user avatar
  • 301
6 votes
2 answers
1k views

Python Toolbox - Only update parameter when specific parameter changes

I'm creating a Python Toolbox. One input is a workspace and the second is a list of feature classes and tables. The list of feature classes and tables is generated once the workspace is input by the ...
Emil Brundage's user avatar
6 votes
1 answer
3k 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 ...
Stu Smith's user avatar
  • 8,094
4 votes
2 answers
184 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)?
Alexander Audet's user avatar
4 votes
1 answer
617 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 ...
Paul Cory's user avatar
4 votes
3 answers
4k 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 ...
user92389's user avatar
  • 101
3 votes
1 answer
348 views

Getting shapefile of habitat data to split itself into each separate buffered area using ArcGIS Desktop?

I'll explain what I'm working with from the beginning so that hopefully I'll be coherent. I am using ArcMap 10.4.1. I have a set of 1037 points in a 500m grid in my study area and am interested in an ...
jmcdermo's user avatar
3 votes
2 answers
235 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 ...
Jay Cummins's user avatar
  • 14.6k
3 votes
2 answers
2k views

Python script hanging forever in Pycharm with import arcpy

I'm trying to get arcpy to work in Pycharm. I've done this successfully in the past. However, now when I try to do anything involving arcpy in Pycharm, the program runs then hangs forever. I have it ...
franchyze923's user avatar
3 votes
1 answer
2k views

Snap to closest polyline from point

I want to create a new layer/shapefile, containing polylines that represent a connection to a grid. I have a layer of points and a layer of polylines (see picture below), based on this I want to ...
user81381's user avatar
  • 155
3 votes
1 answer
273 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 ...
GBG's user avatar
  • 9,404
2 votes
1 answer
3k views

Handling NULL values when using CInt?

This expression works perfectly when integer fields are 0 instead of NULL but now I am working with a GDB that has many NULL values. I'm not sure how to force CInt to only run if field is not null. ...
Ryan's user avatar
  • 311
2 votes
2 answers
1k views

Working with Street Centerlines and a Address Point Layer

My Task was to update the Street Centerline Layer for our county and it wasn't snapped to intersection to intersection and I merged all that together. We at the county here keep a updated address ...
jtrimmer's user avatar
2 votes
2 answers
6k views

What is M-aware polyline in ArcGIS Desktop? [closed]

Can anybody explain the concept of M-aware geometry? I want to construct the M-aware polyline by using xy values. Before doing this exercise I want to understand the concept of M-aware and work on ...
PRASADSINH DALAVI's user avatar
2 votes
1 answer
350 views

GDB Compression Not Updating Base Tables

I'm having an issue when compressing a database the edits are not being posted to the base table immediately, this sometimes takes hours until I can see the edits. Right now the only way I can force ...
Ryan's user avatar
  • 311
2 votes
1 answer
604 views

Alternative to self.Destroy() for wxPython in Arcmap?

I have created a Python Add-in for ArcMap 10.4 that involves a wxPython UI to display upon a click on a map. The UI is populated with default values as well as a combobox displaying the layers on the ...
Ashton's user avatar
  • 35
2 votes
4 answers
2k views

Enabling/Installing/Downloading Portal for ArcGIS?

How can I install Portal for ArcGIS? I have installed ArcGIS for server 10.1 on linux. I read in ArcNews that Portal for ArcGIS is available with the ArcGIS 10.1 release. How can I enable it?
KDot1254's user avatar
  • 646
2 votes
1 answer
98 views

arcpy.AddJoin_management() results not writing to file in ArcMap?

This is probably just me struggling with some of the ArcGIS concepts, but I can't get the results of an AddJoin_management call to write to the layer where I've made the join. mxd = arcpy.mapping....
CrowsNose's user avatar
2 votes
0 answers
551 views

ESRI Basemap No High Resolution [closed]

Did ESRI drop their high res. basemaps. I made a map in November and today I needed to make a small adjustment to it. The high resolution basemap is gone and my map looks bad. I have attached the 2 ...
Greg's user avatar
  • 29
2 votes
2 answers
370 views

Forcing ArcMap to name all geometry fields as SHAPE_Length or SHAPE_Area in file geodatabase?

I'm working with the model builder in ArcMap 10.4.1 and I need to do some geometry calculation using the fields ArcMap creates. I am doing this with the tool 'calculate field' and my expression is: [...
PythonStudent's user avatar
1 vote
1 answer
525 views

Exporting DDP to multiple multi-page pdf files

In ArcMap 10.4 I have an index layer in DDP enabled mxd. The index layer has 50 unique Name values (used as the PageName in DDP) but there are more rows with the same Name value providing different ...
Filip's user avatar
  • 21
1 vote
0 answers
1k views

How to resolve "'NoneType' object is not callable" TypeError when calling rasterstats.zonal_stats from ArcPy script?

I'm attempting to workaround the apparent zonal statistics bug in ArcGIS 10.4 by using rasterstats.zonal_stats. stats = zonal_stats(shapefile_full_path, rast_full_path,0,1,None,None,{'mean','min','...
Jay Cummins's user avatar
  • 14.6k
1 vote
1 answer
1k views

How to display dynamic text from a joined table attribute

I'm using ArcMap 10.4 with dynamic pages setup. Everything I've found online says that if you join a table to the index layer you should be able to add the data from one of the table's fields via ...
Zachary Lehmann's user avatar
1 vote
1 answer
1k views

Exporting geodatabase feature class to shapefile changes the attribute table

I'm using ArcGIS 10.4.1 DATA I have several layers. I combined all of them into one layer using union. I saved the result of union in geodatabase based on the suggestion by @GISGe. You can ...
shiny's user avatar
  • 899
1 vote
1 answer
1k views

Duplicate WFS Featues in QGIS 2.18.3

I recently installed QGIS 2.18.3. I loaded some WFS layers (1.1.0) I have previously loaded using 2.14.9 and noticed the record count had doubled (and one time they trippled but I can't replicate that)...
Colin's user avatar
  • 787
1 vote
1 answer
297 views

Can't export features from PostGIS table into ESRI FGDB when text fields contain more than 255 characters

I am loading the PostGIS table in ArcMap 10.4.1 using a database connection. Then I export the loaded layer (Right click, Data, Export Data...) into a newly created File Geodatabase. The procedure is ...
TurboGraphxBeige's user avatar
1 vote
2 answers
816 views

Error "generate features" with ArcScan vectorization

Windows 10, ArcGIS 10.4.1/ArcScene 10.4.1.5686 I have a geotiff that I pulled in from a pdf. I'm in an edit session of ArcScan and when I Show Preview, the output looks great. However, whenever I try ...
Chris_80's user avatar
1 vote
1 answer
500 views

Exporting a timeslice from a Netcdf-Rasterlayer as tif-rasterlayer

In ArcGIS Desktop 10.4 (advanced licence) I downloaded a NetCDF-File from here: http://eca.knmi.nl/download/ensembles/downloadchunks.php (the 0.25 grid with the years 1995-2016). It consists of ...
BettinaS's user avatar
1 vote
0 answers
353 views

Adding NetCDF-File to Mosaic Dataset in ArcGIS Desktop?

In ArcGIS Desktop 10.4 I have a NetCDF-File from this source http://eca.knmi.nl/download/ensembles/downloadchunks.php (grid 0.25, years 1995-2016), and am trying to add it to a Mosaic Dataset I ...
BettinaS's user avatar
1 vote
1 answer
619 views

Deriving field parameter from table parameter in Python Toolbox?

I'm trying to derive a Python Toolbox parameter from another parameter. I'd like to have a tool which determines fields from an input table and applies the list as a filter to a second parameter. This ...
Emil Brundage's user avatar
1 vote
1 answer
131 views

ArcGIS for Desktop 10.4 - aerial images not in correct postion

When I add aerial images from a recent survey (delivered in EPSG:31468, DHDN_3_Degree_Gauss_Zone_4) to a map document, these differ in position from a basemap as can be seen in the screenshot below (...
Jochen Schwarze's user avatar
1 vote
2 answers
4k views

Nearest numpy array element whose value is less than the current element

I'm using ArcGIS 10.4x and Python/numpy for this question. Can anyone suggest an efficient way to determine the array location of the nearest element whose value is less than the search element? As an ...
Jae's user avatar
  • 1,302
1 vote
1 answer
3k views

Importing rrd file into ArcGIS for Desktop?

I have an something.rrd with something.img.xml and something.img.vat.dbf. I need to import them as raster image to ArcMap 10.4. Is this possible and if so, how can I do it?
K.Broncel's user avatar
1 vote
0 answers
98 views

Calculating distance between consecutive points using ArcGIS Desktop? [duplicate]

I am not able to get the answer to the question below to work for me using the information provided: Finding distance between consecutive points using ArcGIS Desktop? Could someone post a screenshot?...
Bee Cee's user avatar
  • 31
1 vote
1 answer
1k views

How to filter features displayed in WMS layer ArcMap

I've added a WMS layer (from a GeoServer) in ArcMap and trying to apply a filter (~definition Query?) so only features with certain attributes are displayed. I want to filter on attribute ...
BERA's user avatar
  • 68.8k
0 votes
2 answers
1k views

ArcGIS crashing with Tkinter? [closed]

When I run certain scripts (contains tkinter or similar python packages) ArcGIS crashes. When I load or copy/paste the same code and run it in a Python window it runs without error. Is there a ...
A.Adel Saleh's user avatar
0 votes
1 answer
492 views

Spatial Reference not working with If-Else

I'm attempting to use a script to check a folder of data sets to see if they match a projection of another data set in a target folder. I need to be able to re project any that don't match the same ...
Dave.m's user avatar
  • 55
0 votes
1 answer
653 views

Determining Upslope and Downslope from Line Features to Map Hydrologic Capture Zones

I am trying to map hydrologic capture zones (HCZ). HCZ's are contributing areas upslope of any potential capture feature (i.e. road, pipeline path, railroad line), that would alter/impact the natural ...
jbrengel's user avatar
  • 235