Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arcgis-10.3]

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

1
vote
1answer
249 views

Apply Symbology from Layer Not Working in Script

I am working on applying symbology to multiple layers from lyr files for multiple MXDs within the IDE. I have been able to access the MXDs and iterate through and change the definition of "mxd". I am ...
3
votes
1answer
161 views

Layers visibility- code error in Arcpy

I try to turn of all the layers, using this code using ArcGIS 10.3.1: import arcpy from arcpy import env env.workspace = r"G:\desktop\gis" for mxd in arcpy.ListFiles("*.mxd"): mapdoc = arcpy....
1
vote
0answers
51 views

Network cluster analysis in ArcMap?

I'm running ArcMap 10.3. I'm looking to analyse road collision data provided by a client. Each collision is recorded as a point, with a severity allocated to the accident. For example fatal accidents ...
0
votes
0answers
150 views

Sharing custom made color ramps in ArcGIS Desktop?

I've successfully created a custom color ramp in ArcMap (v. 10.3). From the Style Manager I can see the path to where my custom color ramp is located, but I'm unable to locate that path on my machine; ...
1
vote
1answer
123 views

MS Access/VBA used to open an ArcGIS map document: Map fails to connect to database

I have an MS Access front-end that can be used to open ArcGIS map documents (.mxds). It has a macro that runs an OpenRoadMap() function: Function OpenRoadMap() CreateObject("Shell.Application")...
1
vote
2answers
223 views

Batch Export to JPEG with ArcPy

I have a folder of 28 mxds that I'm trying to export all of them into 28 JPEGs. I'm having difficulty with the script and I'm hoping someone can help figure where I went wrong. Basically, I want to be ...
0
votes
1answer
171 views

Change Symbol Size and Color for Multiple Feature Classes

I need to expediently make an identical change to the symbol size and color of multiple feature classes. This can be done for layer transparency through a script such as: mxd = arcpy.mapping....
1
vote
0answers
79 views

Sub-watershed boundary is partial overlap the admistrative boundary

I am using ArcMap 10.3 on a Windows x64 system. I would like to extract the sub-watershed for a particular area. The data I used was ASTER 30m DEM and a shapefile of my study site. The first step was ...
2
votes
1answer
292 views

Distance from one point to multiple points WITHIN a shapefile [duplicate]

I am looking to calculate the distance from a main point to multiple points WITHIN shapefile. In other words: I have a main point at the mouth of a creek. I have about 1,200 points at various ...
3
votes
2answers
104 views

Update a feature class from a feature class in another geodatabase

I have a feature class that I update occasionally. Most of the time it is just adding new features, but sometimes I do update attributes on existing features. However, I need to update a 'copy' of ...
0
votes
2answers
92 views

Buffers based on table relationship using ArcGIS Desktop?

I have what seems like a trivial problem, but I can't come up with a solution. So I have two spatial tables (points) - Buildings ~1000 records (addresses; with a common field identifying the builder)...
8
votes
1answer
335 views

Display full date-time, even when the time is 00:00:00

I have date fields in Oracle tables. When I view the data in the attribute window, the dates are displayed like this: 1/1/2017 1/2/2017 3:50:28 PM As demonstrated in #1, ArcMap doesn't show the ...
1
vote
0answers
106 views

Make Query Layer - field not available as unique identifier when using NVL

I need to create a spatial view with Make Query Layer. My query includes outer joins, so I must combine every table's ID field to create a unique identifier. Since there might not always be a child ...
0
votes
0answers
52 views

Administering 10.3.1 ArcGIS Server services using ArcGIS Server 10.3.1 and 10.2.1

I am using the following line of code to stop ArcGIS Server services in a 10.3.1 version. C:\Python27\ArcGISx6410.3\python.exe "C:\Program Files\ArcGIS\Server\tools\admin\managesite.py" -u <...
3
votes
1answer
53 views

Grid Overlay Multiple Polygons

I would like to create a grid of certain polygons on a map in order to designate survey areas. I have looked up some grid tutorials: however, they focus on creating a grid on top of the whole map, ...
0
votes
3answers
373 views

Save Edits Error, SDE

We have SDE Running on SQL Server 2008. I have one user that receives this error once in a while, and not sure why he is the only one receiving it. I have not seen this error before. I checked ...
2
votes
2answers
184 views

Opening ArcToolbox Tools in previous versions of ArcMap?

I have been working on a project in ArcGIS 10.5 and found out today (after sending the data) that the main two people that are going to make use of my work are only using ArcGIS 10.3.1 (most of the ...
1
vote
0answers
27 views

The resulting values are not what they indicate? [closed]

I am using ArcMap 10.3. When I create a watershed, using the Watershed tool in the Hydrology tool set, I am receiving values that should really be representing the number of water splitting lines, ...
2
votes
1answer
30 views

Calculate geometry breaks shapefile ArcMap?

Consistent error upon adding a field to a shapefile and calculating area. Area is calculated correctly and is displayed in the current ArcMap 10.3.1 instance. Upon software reload, the shapefile ...
4
votes
2answers
82 views

Why is arcpy overwriting datetime in __main__? How do I fix it without rearranging my imports?

Consider the following scripts: import_test1.py: from datetime import datetime print(u'{}: {}'.format(__name__, datetime)) import import_test2 print(u'{}: {}'.format(__name__, datetime)) from ...
2
votes
1answer
132 views

Use only points within a polygon for heat map in ArcMap?

I'm trying to make a point density heat map where the calculation for each cell considers only points inside a containing polygon and ignores those falling outside it (mainly because the outside ...
1
vote
1answer
134 views

How to insert rows into a geodatabase bypassing an active edit session

I'm developing an ArcMap addin with ArcObjects 10.3.1 SDK that needs to have an active edit session to work. It creates new rows after a check process and stores them in a datatable into a file ...
0
votes
0answers
29 views

Creating Python Scripts from within ArcGIS? [duplicate]

I used to use SAGA GIS and automated simple tasks by dragging and dropping (or clicking something and copy and paste - don't recall sorry) to create a simple script that I could then run. I've used ...
3
votes
1answer
149 views

Can't save persisted IGeometry object into an ObjectStream

I was able to store a serialized IGeometry object into an string field in a datatable from a File Geodatabase. For performance issues and since the object implements IPersistStream, I want to save ...
2
votes
1answer
91 views

Using satellite images for manual delineation - is pre-processing required?

I'm new to using satellite images. I'm using Landsat images from USGS (Level 1 data), so terrain-corrected. I want to manually delineate different forest classes using false color composites. Do ...
0
votes
0answers
26 views

No module named “SSUtilities” within Optimized Hot Spot Analysis tool

Background I'm trying to execute Optimized Hot Spot Analysis tool in ArcGIS 10.3 but receive the following error: Additional Information I've had a look at some other tools within the same toolbox ...
1
vote
1answer
413 views

Field Calculator: Round UP to the nearest thousand

I have a cost field in a table that I do field calculations on. The field contains values like: 1,000 2,100.00 3,500.99 4,900 I would like to use the field calculator to round the values up to the ...
1
vote
1answer
1k views

Inserting TIFF file in ArcMap?

I have toposheet in .PDF format and I have converted it into tiff using ArcGIS 10.3 conversion tool. When I try to insert tiff file it is not showing in output folder.!
1
vote
1answer
105 views

Georeferencing JPEG from TIFF using ArcMap?

I recently georefernced some TIFFs. However, unfortunately I have to do the same stuff with equivalent JPGs (same image, same resolution, just JPGs). Is there an easy way to georeference the JPGs ...
-1
votes
1answer
115 views

Alternative to Business Analyst for Territory Design?

I would like to create sales territories. I have ArcMap desktop 10.3. I do not have Esri's Business Analyst. Is there an extension or workflow that will create equitable sales territories using ...
0
votes
0answers
87 views

Snap point to point using a common attribute field?

I have two point layers (street_signs and sign_supports), the street_signs have the assetID of the sign_supports as 'supportID'. I would like to snap these two point layers together using this shared ...
1
vote
0answers
85 views

Python Window errors showing when opening up Commands tab in Customize related to Python Add-In?

I'm getting a number of errors in the Python Window on ArcGIS 10.3.1 when going to Customize > Customize Mode... > (Commands Tab) as seen below. The majority of errors are coming from a Python Add-in:...
0
votes
0answers
48 views

Displaying single polygon with different colors at same time in ArcMap?

I have a feature class of polygons (Districts) and a table of program themes (Education, Health, Civil Society etc). A single district can have multiple program themes and a single program themes may ...
0
votes
2answers
45 views

Merge polygons separated by road spaces while keeping the boundaries of separations

I made a Merge of cadastral parcels to have localities. The problem is that I have the polygons of 6 localities but with voids/spaces in the middle that represents roads. I would like to merge/union ...
0
votes
2answers
46 views

Preserving Field Name & Alias in Select() function

I am unable to get an output using arcpy.analysis.Select() where the field aliases and names are preserved. from arcpy.analysis import * Select("Input.shp", "Output.shp", "FLOOR= 0") The codeblock ...
1
vote
0answers
46 views

Raster to Polygon tool results in reduced area

I have a large raster dataset within a file geodatabase (FGDBR format raster) which I have converted to polygon using the 'Raster to Polygon' tool. Cell size of original raster = 25m. Cell size of ...
6
votes
1answer
112 views

Extract By Mask gives different result (and WARNING 000622) in ArcPy than from tool dialog?

I'm using ArcMap 10.3.1 When I use the gp tool to extract by mask, I get the correct result with any area outside the mask set as NoData. When I do the same thing in a script, I end up with cells ...
2
votes
0answers
33 views

Delineating adverse/favourable areas adjacent to roads using ArcGIS Desktop? [duplicate]

I have a client in the forestry sector that would like me to run some maps with criteria that I’ve never managed for. These maps will delineate (using polygons) areas of slope (0-20%,20-40%,>40%), ...
1
vote
1answer
43 views

Embedding Basic-Script in ArcGIS? [closed]

in the Program "Grapher" from Golden Software, you're writing in a modified script-language, based on BASIC. I want to run the script I wrote in ArcGIS either using a toolbox or as an arcpy interface. ...
1
vote
2answers
46 views

Why is the mxd property “Pathnames” disabled?

I have an .mxd that is using absolute pathnames. I want to change this property to use relative pathnames but the option is disabled, grayed out, when I go to the .mxd properties. It is actually ...
0
votes
1answer
36 views

Field Calculator: Prefixed, padded IDs from a number field

Using the Field Calculator, I want to create prefixed, padded IDs from an existing number field. By "padded", I mean I want the IDs to have a specific number of characters, regardless of how many ...
2
votes
1answer
90 views

Turning off ArcMap Editor via ArcPy?

I have a problem with turning on or off ArcMap editor, using arcpy. When I try to turn on editor on arcpy I use this code on ArcMap Python window workspace = r'C:\tests\test.mdb' edit = ...
2
votes
2answers
167 views

ArcGIS Exporting (ALL) layers from Table of Contents

I'm trying to export ALL layers from the table of contents from a map document but I get the following error: Runtime error Traceback (most recent call last): File "", line 14, in File "c:\...
-5
votes
1answer
96 views

ArcPy Describe function gives AttributeError? [closed]

import arcpy infc = r"C:\Users\123\Desktop\文件\test.shp" print infc desc = arcpy.Describe(infc) print desc shapefieldname = desc.ShapeFieldName print shapefieldname rows = arcpy.SearchCursor(infc) ...
1
vote
1answer
14 views

In ArcMap 10.3 when making a feature record I am getting different values than I have in the domain, why?

I have a feature class in a GDB of road survey points, it has a domain assigned to the field of "Type". When I look at the domain values in the GDB properties I see the entry code="Culvert - Proposed"...
0
votes
2answers
332 views

XY to Line tool doesn't run

I am trying to run the tool on this simple table using Point X, Point Y, Xt0 and Yt0 fields for calculating distances. But immediately as the tool runs, it stops with an error "an expected field was ...
0
votes
1answer
47 views

Arcpy script suddenly stops

I have a script that's copying files from 2 geodatabases in separate locations into a existing geodatabase on my C:\ Drive. The first part of the script runs workspace3 code perfectly. For some reason ...
1
vote
0answers
42 views

Working with python add-in while editing is on

I created a python add-in which makes analyses like spatial join, update cursor and make feature layer. But when editing is open for a layer. I get this error. Line 289, in onClick for rec in ...
2
votes
1answer
123 views

Using inline variable %Value% from iterate feature selection to specify feature class name for clip tool

What I am trying to achieve: I have a dataset of ~3000 health facilities in 52 districts. I want to draw Thiessen polygons around the health facilities which conform (are contained within) to the ...
1
vote
2answers
87 views

Using Overlay Analysis (e.g., Union) with point data (point shapefile)?

Is it possible to compare a point shapefile with a DEM raster in which the Aspect tool has been applied? I am reading about Overlay Analysis but cannot find a definitive answer. The attached photo ...