Questions tagged [arcgis-10.2]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
798 views

ArcGIS 10.6 opening mxd from 10.2

I previously had 10.5 and opened up an ArcGIS 10.2 versions MXD. This week, I upgraded to 10.6 and tried to open the MXD from that same 10.2. That MXD would not open. All it would do is "not ...
0
votes
1answer
30 views

Retrieving a Geocoding Result from ArcGIS Online World Geocoder

I ran the World geocoder service through AGOL on a lot of points (I forgot how expensive it is - dumb dumb mistake, alas!). Worse still, the ArcMap Desktop mxd where I had the results open as I was ...
2
votes
1answer
141 views

Using ArcPy ListRaster in Walk?

I am trying to select all rasters using arcpy.ListRasters within all folders of a directory using arcpy.da.Walk. I'm using arcMap 10.2. An example portion of the code I have: workspace = ("...") ...
0
votes
1answer
60 views

Creating save button that saves mxd as previous version

I'm running 10.4 right now and I was wondering if there's a way to create a save button add-in that would save the mxd as 10.2? I know there's the arcpy command saveACopy but I imagine that would keep ...
1
vote
2answers
85 views

Having new points inserted into shapefile automatically display using ArcPy?

Displaying points from a table is easy - you just right click the table and choose "Display XY Data". But what is the comparable method for shapefiles? When you right click a shapefile the "...
3
votes
1answer
60 views

ArcGIS Tool Script Validation…browser window default location for multivalue option box

I am trying to do some Tool Validation for a script I'm writing in ArcGIS 10.2. I have a Multivalue File field which the user can browse to a directory to select the files they require to run. When ...
1
vote
0answers
158 views

OD Cost Matrix doesn't generate all the lines

I have 177 points of origin and 177 of destination. There's should be 31.329 lines generated by OD cost matrix, but there's only 2077 lines. I've made sure that all the points are on the traversable ...
3
votes
3answers
2k views

Writing ArcPy Update Cursor “Where Clause” that Refers to its own Rows?

I'm using Arc 10.2.2. I have 2 files: "Input_Table.exe" (only 3 columns: "ID", "Lat", and "Lon") "Target_Shapefile.shp" (many columns including the same "ID", "Lat", and "Lon") Any rows in the ...
1
vote
1answer
58 views

Adding weights to shapefile for points in ArcGIS Pro using ArcPy?

I have a .csv file with longitude, latitude representing a point on map. And another column that I will use as weights for these maps. I want to calculate weighted mean center for all the points using ...
0
votes
1answer
133 views

Consuming WMTS from Planet for ArcGIS Desktop?

I have registered a trial account with PlanetLab to evaluate the basemap product. I could login to my account and can use the Explore (web). However, could not connect to the WMTS to use my account ...
1
vote
0answers
110 views

Attribute table shows histogram/pixel count for a thematic raster image, but on enquiring, every pixel's value is zero

I have a thematic raster image containing 18 land use classes (like built-up, water bodies, plantations, forest, etc.). When I display this image in a GIS application (Arcmap/Erdas IMAGINE), the map ...
3
votes
2answers
278 views

Selecting Multiple Layers with ArcPy?

I have scripted tools in ArcPy that gather inputs using "GetParameterAsText", which then show up in the tool GUI like this: But that is for gathering a single file by navigating to it and selecting ...
1
vote
0answers
69 views

Using the output of zonal statistics in raster calculator

In ArcGIS (10.2) Model Builder, I am using the raster calculator to select a subset of cells from a temperature layer (a range between a max and min value). My expression reads as follows: Con(("%...
2
votes
2answers
143 views

Performing isolation trace that ignores one valve type before stopping at another valve type in same feature class using ArcPy?

The map below is based on test data generated by the code that follows. That code: Creates a file geodatabase (test.gdb), with a feature dataset (TestFD), and in that feature dataset there are two ...
1
vote
1answer
75 views

Imposing New Projection on Multiple Shapefiles using ArcPy?

I'm trying to run a script tool in Arcmap that will reproject a number of shapefiles from the source data folder and place the newly projected shapefiles in a destination data folder. I'm getting ...
1
vote
1answer
100 views

error: wrong resolution for raster calculator, how to work with this?

I have two raster files (lets call them raster A and B) and I would like to multiply them with the raster calculator. I keep getting an error message when working with the raster calculator. I thought ...
1
vote
1answer
366 views

Iterating extraction of polylines and annotations from CAD to Esri Geodatabase

I have successfully converted a DWG lines and annotation in a geodatabase annotation feature and polyline feature using Arcgis 10.2.2 And now I want to construct a model builder to automate and ...
2
votes
0answers
305 views

Troubleshooting pythonw.exe has stopped working with Trace Geometric Network? [closed]

I have not yet pulled this down to a code snippet that has just enough in it to reproduce the error below that I am getting when I run my code in IDLE. pythonw.exe has stopped working Windows is ...
-2
votes
1answer
86 views

Buffering roads (<100m - 200m -400m->400m) in ArcGIS Desktop?

I want to buffer road (<100m - 200m -400m->400m) I have problem with how can I use like this photo? I dont know use any type of buffer. How can I solve my problem? I don't know will be use in ...
0
votes
1answer
32 views

Getting map of what cells in raster are contained in different zones of polygon using ArcGIS Spatial Analyst?

I am using ArcMap 10.2.2 with Spatial Analyst. I have a few different gridded datasets describing attributes of a city. All those datasets overlay the same gridded area so that the cell in row X ...
3
votes
1answer
174 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 ...
1
vote
1answer
798 views

Is it possible to have multiple subtype fields in a Feature class?

I am creating a feature class which will be used for data capture via a Geoform template in AGOL. This has 17 fields. I have set field 1 as a subtype with 3 options (3 types of conservation zones). ...
3
votes
1answer
373 views

Performing water valve isolation trace using ArcPy?

The utility that I am working with for a couple of weeks has access to the ArcFM Water Valve Isolation tool which enables them to point from ArcMap at a location on their SDE Geometric Network and be ...
0
votes
1answer
65 views

Adding table to existing map layer in ArcGIS Online

I have a map service that is published to a local ArcGIS Server. I've added it as a service to ArcGIS Online and added it to a map and made a lot of changes to the searching, pop-up's, etc. Later, I ...
2
votes
1answer
94 views

ArcGIS 10.2 Custom Geocoder outputs results with no geometry

I have a custom general single field geocoder that reads a meter number field attached to premise points. This meter number field is the only link between our premise points and corrosion data tables ...
1
vote
0answers
246 views

How to export zoomable PDF from ArcGIS?

I have a basemap layer of a country and I want to create a PDF where I can zoom in and see the basemap in more detail. The same way as when I zoom in ArcGIS. Is it possible to export such PDF from ...
1
vote
0answers
212 views

Small sample size for geographically weighted regression; limitations

I am studying West Nile Virus risk factors in a specific county using mosquito surveillance data over a ten year study period. The highest resolution of the mosquito data that could be obtained was at ...
0
votes
0answers
63 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
0answers
603 views

arcpy.ListFeatureClasses returns empty list

I'm working with SDE connection and want to find if a layer exists on a server. Code sample is: ws = r'Database Connections\Connection to sde-srv.sde' # second option to access connection file, same ...
1
vote
1answer
847 views

Calculating the log(10) of a field in ArcMap using the field calculator

I am trying to take the logarithmic function of a field in ArcMap 10.2 using the field calculator in my attribute table. I can't seem to find any equation that does this and the Help document did not ...
1
vote
1answer
155 views

Eliminating Smaller Polygons (orphans) from Larger Polygon in ArcMap?

I have a "water bodies" shapefile. Technically there is no land to the shapefile, nonetheless the effect of visible land is produced (everything that isn't ocean). Problem is, because it is a "water ...
2
votes
2answers
189 views

Increasing Flood Plain

I am doing a project where we are attempting to determine how many more buildings would flood if the FEMA flood plain increased by 1',2' and 5'. I have the elev of the flood plain rasters from lidar ...
0
votes
1answer
148 views

Choosing Geographic Transformation from D_WGS_1984 to D_Hughes_1980 in ArcMap?

I am using ArcMap 10.2 and I want to convert the shapefile projection(from GCS_WGS_1984 to NSIDC_Sea_Ice_Polar_Stereographic_North), however, their datum is different,the datum of GCS_WGS_1984 is ...
2
votes
1answer
533 views

Selecting polygons by raster RGB values using ArcGIS Desktop?

I'm looking for solutions to this in ArcMap 10.2.2 Basic, with no Spatial Analyst extension. I am trying to find parcels that have been damaged by a large fire. I have a raster image showing the burn ...
1
vote
2answers
484 views

Slowness query - ArcGIS Server

A viewer is being developed with the Api Javascript of Esri 3.21 and several queries are made through QueryTask to some services that we have published in ArcGIS Server. It has been observed that the ...
1
vote
0answers
393 views

GDAL with ArcSDE driver

I am attempting to use GDAL/OGR to read from an SDE enabled database (MS SQL). I have tried the steps located here but do not have access to the database server. I am also using a GDAL installation ...
0
votes
1answer
662 views

How to show line symbol (arrow) independently of line length in ArcGIS?

I am manually creating a polyline layer in ESRI geodatabase. Lines are of 2 vertices (start-end), variable length but all very short. I am using directional symbol with arrow at the end (or middle). ...
0
votes
3answers
475 views

Field Calculator - Calculating Sum based on Different Fields

I'll explain this the best I can. I have 3 fields that I need to work with in Field Calculator: Link ID DesignLength AsBuiltLength DesignLength is length of each line feature calculated by ArcMap. ...
0
votes
0answers
94 views

ArcGIS 10.2 objectid returning non sequential values

I am making a SQL insert in a geotable. I'm getting the objectid via: sde.gdb_util.next_rowid('my_user', 'my_table') However, I've noticed that numbers given are not always in sequence. For instance,...
3
votes
0answers
113 views

How to undo/redo drawing polyline

I want to draw a custom polyline using mouse click events in an AddIn.Tool project without esri's build-in interfaces eg. Rubberband, IDisplayFeedback or IShapeConstuct. I got problems pushing caches ...
1
vote
1answer
385 views

Using ModelBuilder to calculate multiple polygon areas into one table?

I am attempting to calculate the areas of a large number of shapefiles (all polygons) in ArcGIS 10.2. All of the separate shapefiles are stored in the same group layer, and each contains one polygon ...
1
vote
0answers
198 views

ArcGIS Split Line at Point Tool splitting at intersections - faulty output?

The screenshot below shows a 'brown_FC' of brown lines generated by this script which i want to be split at the intersection points with the 'green_FC'. This works just fine if i take the 'brown_FC' ...
0
votes
0answers
49 views

python syntax error in field calculator [duplicate]

I'm trying to strip the last character in a string if when the string is split by spaces the last element has a length of 1. I then want to put that letter in front of the rest of the other elements. ...
0
votes
1answer
177 views

Query Builder Expression using NOW () function

I have a date field named "TermDate'. I would like an expression in Query Builder to only show features where termination date is in the future. My date field displays as '2017-09-27 09:59:01' I'm ...
0
votes
1answer
121 views

Copy Layers with groups and layers with data from one MXD to another

Is there a way of copying one group of layers with data (001_Group) from one MXD(group1.mxd) to another(group2.MXD) with arcpy. As far as I understand all the layers in ArcMap are referenced as ...
3
votes
1answer
117 views

Using text editor within ArcGIS Desktop?

I am using ArcGIS 10.2. Using QGIS, I have a text editor that allows me to write some lines of code and quickly test them: Is there something similar using ArcGIS? I know I can simply write this ...
1
vote
0answers
199 views

How severe is a “10001 layer's data source has a different projection value than the data frame projection” in ArcMap?

I am currently practicing using the generate near tool with some older point shape files and would like to see if I can use it in distance analysis between the points and other shape files like lines ...
2
votes
0answers
179 views

Converting Numpy array to raster with ArcPy? [duplicate]

I have been trying to convert a numpy array back to raster after doing some calculation on it and i keep running into errors. Basically I am trying to find flooded areas below a certain sea level eg 2 ...
1
vote
0answers
45 views

Converting dimension feature class into standard feature class using ArcGIS Desktop?

I have found very little information regarding if it is possible to convert a dimension feature class into a standard feature class. This would hypothetically be done in an SDE environment. Our theory ...
2
votes
1answer
177 views

Printing out all symbols of a personal style file in ArcGIS? [duplicate]

I need an overview of all symbols saved in a style file. Maybe in form of a list, to see the symbol itself and the name of the symbol. Is there a way to export/create such an overview? I am using ...