Questions tagged [arcgis-10.4]
Use this tag when ArcGIS 10.4 is the version you are using from the ArcGIS platform.
608
questions
0
votes
0
answers
107
views
Extracting vertices from a polygon in ArcMap
I am trying to extract all vertices from 74 polygons in ArcGIS Desktop 10.4, but I don't have any of the advance tools or ArcGIS Pro. I don't have features to points tool as I have checked. What other ...
0
votes
0
answers
21
views
After splitting a line into 3 equal parts, the resulting parts are non-continuous. Part 2 [duplicate]
Before I have asked here about how to divide a polyline into 3 equal parts, since when I do it it is divided into three parts of the same size but not continuously. Vince has answered me ("You ...
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 ...
4
votes
0
answers
214
views
Why does arcpy.da.Walk work differently when used with file geodatabase (gdb) and personal geodatabase (mdb)?
Why does arcpy.da.Walk give different output with identical File (GDB) and Personal (MDB) Geodatabases?
Example:
I am using ArcMap 10.4.1
r'D:\SCRipt\New.mdb' is a copy of r'D:\SCRipt\New.gdb'
db =...
0
votes
2
answers
589
views
Fixing scale to symbols in ArcMap
I inserted symbols in a digitized map, but when zoomed out, the symbols get bigger and zoomed in they get smaller.
I know that the scales of symbols can be fixed in ArcGIS Pro, but how can this be ...
1
vote
0
answers
24
views
Automatically create points based on algorithm
I have a shapefile with points representing the sightings of different bird species on different dates (in ArcMap 10.4.1). I now have to create a new shapefile with points for bird territories. A ...
1
vote
1
answer
373
views
Aligning text in legend using ArcMap
I am working in ArcMap 10.4.1. Trying to align the text in a legend. I want my title to be centred and the text next to the patches to be aligned left. The normal buttons to select alignment are ...
0
votes
1
answer
143
views
Converting files in a specific folder specified by a relative path
I am writing a script to automate the process of converting a group of rasters, the fact is that I need to set a relative path, it will be used on different pc. But there is always an error [error-...
0
votes
0
answers
82
views
Digitizing polygons against georeferenced map using ArcMap
I am drawing polygons of counties over a 17th Century map that I have georeferenced. I have an issue with this version of ArcMap which I haven't experienced with past versions.
The shape keeps closing ...
1
vote
0
answers
99
views
Using attribute domain and subtypes in ArcMap
I have a schema (attached) for a certain classification that I need to include in the data structure.
Is it possible to use subtypes and domains to get the proper solution?
Simply, How to represent ...
0
votes
1
answer
988
views
Data of attribute table is not showing on ArcMap
I have downloaded a point shapefile and when I can add this in my ArcMap 10.4. But the problem is when I try to open the attribute table it says this message and end up with bank rows.
It shows the ...
2
votes
0
answers
101
views
Releasing ArcMap memory by removing *.sr.lock files from shapefiles
Is there a method of removing *.sr.lock files from shapefiles to release memory consumption without closing out of an ArcMap application? I am attempting to run code that will cycle through 200+ ...
0
votes
1
answer
551
views
mxd.SaveACopy fails to save file using Python script
I have been struggling to build a model using ModelBuilder and Python scripts. At the end of the model, I would like to write a script which saves the MXD file using the actual current time of the ...
-1
votes
1
answer
79
views
Georeferencing in ArcMap?
I am new to ArcMap.
I have bistatic MiniRF data. This data is not georeferenced. I want to make this georeference. Correspondence to each pixel, I have one latitude and longitude information in ...
0
votes
0
answers
60
views
Rename the zonal statics table same as the raster name in ArcGIS model builder
I need to get zonal statics for multiple raster files. However, I would like the name of the output table to be the same as the raster name but i am getting errors.
2
votes
0
answers
598
views
.exe Packaging for Python files with ArcPy?
I've written a little program that's meant to function as a stand-alone, not as an add-in. I'd like to be able to pack it up as an .exe, rather than ask my users to run the script. It does import ...
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 ...
1
vote
1
answer
580
views
Why does Python if/else statement only return else condition when trying to reclassify field using ArcMap field calculator?
Using ArcGIS 10.4. I'm trying to reclassify values from a field (ECOREGION_DIVISION), which is in string format, into new values using the following Python syntax:
def Reclass(ECOREGION_DIVISION):
...
0
votes
2
answers
796
views
Sum rasters with different extent
I have two raster layers that I would like to add together (raster1+raster2) but although they have the same resolution(15x15 nautical miles), they are not perfectly overlapping because they have been ...
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 ...
3
votes
1
answer
171
views
Is there a text box parameter type for Python Toolboxes?
The Calculate Field tool has a text box for code.
Is there a parameter type for Python Toolboxes for this type? There's String but it's just one row of text.
in_str = arcpy.Parameter(
...
0
votes
0
answers
151
views
Writing massive kernel files for focal statistics in ArcGIS Desktop
I would like to run focal statistics on a raster and apply a weighted kernel file.
The issue is that I have a dense raster (and I would like to keep it this way for a reason) on the other hand I am ...
2
votes
2
answers
3k
views
Manually adding a Null value to a string field in an attribute table in ArcGIS
When I'm in an editing session and I manually delete a value from a numeric field the value turns to null (<Null>). Manually deleting a value in a string field creates an empty string, not a ...
5
votes
0
answers
223
views
Set default values when value is added to value table in Python Toolbox tool
Similar to Set default values for value table in Python Toolbox tool, I'm trying to populate a value table with default values. However for the linked question the value table is populated once an ...
2
votes
1
answer
1k
views
WGS84 expressed in meters - default projection in ArcMap
I am trying to identify the correct coordinate system for some data, with x and y expressed as (for example, data located roughly in the UAE):
6,220,199; 2,742,099
I haven't come across these 7-...
1
vote
2
answers
469
views
Longitude, latitude to polygon in ArcPy
I'm working in ArcGIS 10.4.1 and trying to write a script (in Python) for making a polygon shapefile from latitude/longitude.
txtFile=arcpy.GetParameterAsText(1)
shpOUTpolygon=arcpy....
1
vote
1
answer
166
views
Changing order of attribute data in InfoWindow on click of multiple features
I have an Esri Web AppBuiler 2.7 standalone web application where it is required that we are able to control the order of attribute data appearing in an InfoWindow on clicking multiple features.
For ...
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 ...
0
votes
0
answers
304
views
Dividing raster cell into smaller cells and evenly spreading values to new cells using ArcGIS Desktop
I need to divide/split raster cells into smaller cells (i.e. coarse to fine resolution) and then evenly assign values of the original cell to the finer cells. For example - focusing on a single cell ...
0
votes
1
answer
178
views
Getting Run time error cannot open 'xxxx' from ArcPy?
I am trying to create a script to add values to a new field in a table based on the text values of another field in the same table. Here is my code:
import os
import arcpy
from arcpy import env
...
1
vote
1
answer
334
views
Setting Annotation Reference Scale to Zero
I am creating annotation layers for a dispatch map. I'm trying to format my annotation layer to draw dynamically, with the font size remaining consistent across all scales. I must use an annotation ...
0
votes
1
answer
209
views
Annotation font size reference scale
I am updating annotations and the annotations feature class reference scale is at 18,000 to 20,000 while my data frame is set at 26,500. When I print the map, the font size seems to be significantly ...
1
vote
3
answers
240
views
Going back in for loop at the end of a while loop in ArcPy?
I'm quite novice in Python and ArcPy.
I have a river network with Strahler orders (starting from 1).
I want to create a new network where the new streams will start from order 1 till the outlet. (so, ...
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 ...
3
votes
3
answers
210
views
Programmatic logic ArcGIS uses to determine added fields from geoprocessing when inputs have duplicate field names
ArcGIS has a confusing method for updating field names when combining tables with duplicate field names. For example, I have two tables containing the field Id.
If I run JoinField_management, ...
0
votes
1
answer
1k
views
Clipping using multiple polygons from same layer in ArcGIS
I have a polygone shapefile and now I want to select a couple of polygons which are islands in one big polygon and clip that big polygon with these selected islands. I know that I can use ERASE tool ...
2
votes
1
answer
222
views
Displaying dynamic text in Data Driven Pages from joined MS Access database table?
I'm running ArcMap 10.4 and trying to incorporate text from a joined MS Access 2013 table (through an OLE DB connection) as a dynamic text element in a data driven pages setup. Adding dynamic text ...
0
votes
1
answer
33
views
Startup() confused while converting class:IExtension into class:BaseToolbar
I developed an extension with ArcGIS 10.4.1 that I can use through the extension menu and now I need it as a toolbar. The problem is that ArcGIS launches only the startup() event from the extension ...
2
votes
1
answer
685
views
ArcMap 10.4.1, How to show linked pictures in layout data frame for a map book (using Basic License)
I'm trying to create a map book for a tree inventory in ArcMap 10.4.1. I have a shapefile (no problem changing to a gdb) with 350 points, and the goal is to get a layout consisting of 3 data frames: ...
0
votes
0
answers
50
views
Using ConvertToMSD in ArcPy to report an error
I have two questions:
1. Is the mxd file generated by arcgis10.4 not converted to msd file by this method?
2. If can, my code is like this
import arcpy
mxdPath = "F:/mm.mxd"
msdPath = "F:/test.msd"
...
0
votes
1
answer
148
views
Adding nodes to pipe ends using ArcGIS Desktop?
I have two features, a pipe distribution network, and nodes. I need to have nodes at the end of each pipe. I have already found which pipes have no nodes at their ends.
How can I add nodes to the ...
5
votes
2
answers
99
views
Creating pseudo-heatmap based on time spent in AOI using ArcGIS Desktop
I wanted to see if there was a way to create a heatmap based on time spent in a certain AOI. What I mean by this is a layer you can toggle on/off that would go from clear to red as you spend more ...
0
votes
1
answer
212
views
Iterative Processing for make NetCDF table View in ArcGIS Desktop?
I am trying to process NetCDF file using Make NetCDF view table but do not understand where it stores output?
I have 32 nc file for which I am using ModelBuilder.
2
votes
1
answer
1k
views
Creating ArcMap Model with multiple iterators? [duplicate]
I'm using ArcMap version 10.4.1. I'm attempting to create a model which almost works perfectly but I can't figure out the last bit.
Ultimately I want to run the "extract by mask" tool multiple times. ...
1
vote
1
answer
168
views
Export to PDF and Print to PDF not working 10.4.1
Has anyone had issues with shapes not appearing when exported to PDF or Print to PDF?
This has been happening a lot lately and I don't understand what the issues is.
1
vote
1
answer
98
views
Merging NDVI classified and unsupervised classified image?
I have clipped forest area from an image and apply NDVI classification on forest area and in the remaining, I have done unsupervised classification.
So, I want to know after NDVI and unsupervised ...
0
votes
1
answer
550
views
Extract height from DTM into attribute table of point layer [duplicate]
I am using ArcGIS Desktop 10.4
I have an empty point layer (100 random points) and a dtm.
I was wondering how I would go about to get the height from the dtm underneath each point into the points ...
2
votes
0
answers
114
views
Removing extra dots when loading Python script
This is probably a silly question, but I'm having a problem whenever I load a Python script in ArcMap where extra dots are loaded with the script (see below) that I must manually delete prior to ...
4
votes
2
answers
1k
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 ...
2
votes
0
answers
63
views
Why are the layer ids of my map service changing when I refresh the map service endpoint in the browser?
I go to the endpoint for my cached map service and view the layers and their IDs that are in the service:
T201510cm (93)
Boundary (94)
Footprint (95)
Image (96)
T201520cm (0)
Boundary (97)
...