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
0
votes
0answers
15 views

Building an offline tile server for ESRI World Imagery

I have a JavaScript and Leaflet project which serves users OSM and ESRI maps offline. I have 2 map layers. I successfully built the OSM part with switch2osm tutorial. But I couldn't find the similar ...
1
vote
1answer
431 views

ArcObjects OnChangeFeature event not firing unless you move feature

I am displaying points, lines and polygons on ArcMap as features with an addin. I want my end users to be able to change features (move geometries, add vertex, delete vertex etc) and get the updated ...
4
votes
1answer
18k views

Calculating average raster value for area in ArcGIS Desktop?

I have Raster data for a country which has Evaporation Data in its pixels. I also have Vector layer which has the 30 cities of the country. What I need is the average Evaporation value of each city ...
2
votes
1answer
442 views

Turning Text into Layer in ArcMap

I am using ArcGIS 10.2.2 for Desktop. Can I turn the text boxes which I have inserted on my map into a layer which keeps the same aspect ratio with the map?
0
votes
2answers
19 views

Selecting features from partial string in where clause with variable of Select Layer By Attribute in ArcPy

I am new to coding using ArcPy. My code is: roadname = "Ly Thuong Kiet" arcpy.SelectLayerByAttribute_management("inLayer_lyr","NEW_SELECTION",""" "...
0
votes
1answer
412 views

Creating one single coverage polygon feature class from XY point data?

I'm using ArcMap 10.2, and I need to map areas covered by London postcodes (E1 0xx, E1 1xx, E1 2xx, and so on). What I have is the coordinates for every single postcode (310,000 in total) in an Excel ...
0
votes
1answer
37 views

ArcGIS10.2 SDE relationship class referencing a deleted feature - how to clean up relationship class?

I am looking for a smart approach to cleaning up a relationship class, which consists of relationships that look at previously deleted objects. To illustrate, we have db.schema.SITE (spatial), db....
1
vote
1answer
660 views

Cesiumjs 1.32 and ArcGIS 10.2 - ArcGisImageServerTerrainProvider is being deprecated - how to provide terrain data

I tried to connect CesiumJS to ArcGIS by using ArcGisImageServerTerrainProvider. This works OK if I have a map in simple format BUT: ArcGIS 10 now supplies data in LERC compression and Cesium can't ...
3
votes
1answer
942 views

Create CF-compliant NetCDF from ESRI Grid?

Been trying to make a CF-compliant netCDF file from an ESRI Grid. I want to serve it w/the THREDDS server. Been using gdal_translate. I know the netcdf output option is definitely not CF compliant, so ...
5
votes
3answers
5k views

Determining Min/Max values from feature class using ArcPy?

I am very rusty/inexperienced in Python. I would like to create a more compact script that prints min and max values of each numeric field from a feature class. Right now I have the code below ...
7
votes
3answers
5k views

Specifying map service parameters when publishing with ArcPy?

I publish map services on a ArcGIS server using the typical arcpy script below. I need to better specify some service parameters. For example, the service should be available in WMS instead of KML, ...
8
votes
7answers
31k views

Debugging ImportError: No module named arcpy

I have written a script and am trying to run it in Python IDLE 2.7.6. I first try to import arcpy, but I get an error message saying: ImportError: No module named arcpy Why does it not work? I am ...
2
votes
1answer
92 views

Transfer real time data from SQL server to ESRI ArcGIS without using PI Integrator?

I am new to GIS. Right now I am working on my senior project in which I have to find the fault in transmission line and show its location on a map using ARCGIS 10.2. I have some readings of voltage ...
0
votes
1answer
28 views

Merging cells automatically in ArcMap

I want to merge the cells[green] in ArcMap as shown in picture below. Is there any way to do it automatically instead of manually? There are 200 classes and every time I need to merge the cells for ...
1
vote
2answers
1k views

Grouping layers in Portal for ArcGIS?

I grouped the layers in ArcGIS Desktop and published them to my Portal for ArcGIS, but when I tried to create the Map Application, I see the individual layers. They are not in a group.
0
votes
0answers
29 views

SLD file not being read from ArcGIS Server WMS service

I am trying to link an external SLD file to my WMS service in ArcGIS Server but it is being ignored. I have one layer in my MXD called 'Rivers', I then published the layer as WMS service in the ArcGIS ...
0
votes
0answers
12 views

Zonal statistics as table in Model Builder changes zone field names

I am using Model Builder to calculate the mean NDVI for some polygons and then I want to combine those tables to the attribute table of those polygons. For whatever reason, the attributes in the Zone ...
3
votes
5answers
2k views

“Item Description” from Catalog window in ArcMap won't open

I can't access metadata information from the catalog window in ArcMap. I can click on it but nothing happens. I haven't used this option before, so I'm not sure how long I've had this problem. ...
0
votes
0answers
15 views

Constructing CON statement in Raster Calculator of ArcGIS Spatial Analyst

I have this expression that works in the QGIS Raster Calculator but not ArcGIS Raster Calculator. How can I reconstruct it? It is a binary raster that I am working with. ("Outputs\Model Fin" ...
1
vote
0answers
38 views

Using both POI and Routes layers for ArcGIS Address Locator?

I want to create an address locator in ArcGIS. I have a POI Layer and Routes Layer. The Address locator should be use both Street names and POI distance. For example "X" Ave near the "Y&...
2
votes
2answers
909 views

Unable to create Dimension Feature Class

I am trying to create a Dimension feature class within a new geodatabase. I right-click on the geodatabase and select the New, then Feature Class. The New Feature Class window comes up and I can ...
8
votes
4answers
21k views

Subtracting (erasing) polygons from polygon using ArcGIS for Desktop?

I have two polygon layers, one is green that represents all non-public right-of-way land. I have another polygon that is just a circle with a specified radius. I would like my output to be a polygon ...
3
votes
2answers
261 views

Van Der Grinten projection repeating past 180 degrees

I have a ArcGIS map with this projection, but I want to project past 180 degress so that the data is repeating, like here: How can I do that? I'm using ArcGIS 10.2. I'm welcome to try new software ...
0
votes
1answer
41 views

Getting dataframe extent from a polygon and exporting to PDF issue

I created a script to get the extent of a polygon, apply it to the data frame extent, and then export the layout as a PDF. However, I'm not getting any errors but the script is printing out at a ...
4
votes
4answers
7k views

Why are ArcGIS 10.2 Color Ramps missing?

I'm using ArcGIS 10.2 Trial and found that there is no Color Ramps. Is it a bug or a restriction?
1
vote
1answer
68 views

How can I use UpdateCursor in AGOL layers?

I'm all new to Python, and 'Im stuck with a problem: Is it possible to use UpdateCursor on Feature Layers in AGOL? I am trying something like this: from arcgis.gis import GIS gis = GIS("https://...
0
votes
0answers
15 views

What does the ArcGIS10.2 sde_state_id suffix 'L' mean in delta tables, when read using pyodbc in Python?

Enterprise geodatabase sits in MS SQL Server database. I'm using Python's pyodbc SQL driver to read SDE delta tables. I'm running the following query: select delete_table.SDE_STATE_ID, ...
0
votes
0answers
14 views

NIR Band Not Available in ArcGIS

I am working with a Landsat 8 Surface Reflectance TIFF file composed of a Red ('B4') band and a Near Infrared ('B5') band. I have downloaded the image by creating a download url using the Google Earth ...
1
vote
1answer
136 views

How to catch the event the mousePressEvent on Esri :: ArcGISRuntime :: Graphic?

All events mouse protected. I tried to do it via eventFilter and using QObject :: connect, but the result false. How do I catch a click event on Graphic? What I tried: ... void ViewshedGeoElement:...
1
vote
2answers
3k views

Meaning of Spatial Join ERROR 000840: The value is not a Feature Layer?

I'm using ArcGIS (ArcMap) 10.2 to determine the relative location of points of land to a regulated area. I downloaded a layer (.lyr) file that displays the regulated area, and am able to display that ...
11
votes
3answers
18k views

Setting Definition Query on ArcPy layer from shapefile for ArcMap

I am trying to determine options to set a layer definition query using ArcPy. I know that it is possible when using arcpy.mapping.ListLayers(). However, in this scenario I am loading in ...
2
votes
1answer
32 views

How are Modifications and Deletions represented when looking at enterprise geodatabase delta (add, delete) tables?

I'm trying to understand how to make sure a delete is a proper delete and not a modification, and vice versa. I'm using ArcGIS 10.2 and Enterprise geodatabase on MS SQL Server. See below SQL: select ...
1
vote
1answer
9 views

Convert sDNA values to urban block

I want to join the results of sDNA analysis to urban blocks and I have a list of questions 1- Do I need to weight sDNA values of the street segments (i.e. the links) before spatial join to urban ...
2
votes
2answers
537 views

OD cost matrix not calculating for all origins in ArcGIS Network Analyst?

I am using ArcGIS Desktop 10.2. I have created the origins points from a fishnet laid over my area of interest. Out of 1200, there are some 65 points for which the OD cost matrix cannot be ...
1
vote
1answer
35 views

Framing argument for insert cursor when writing geometries using ArcPy?

I am writing polygon geometries and I have points holding the geometries that represent vertices of the polygon. When I run the code below I get: TypeError: sequence size must match size of the ...
3
votes
1answer
2k views

Inserting substring in ArcGIS Field Calculator

I'm trying to use the split tool in ArcGIS to add an underscore. Trying to make "ABC11111" look like "ABC_11111". Don't have much experience using Python or VB Script but this is what I have created ...
0
votes
1answer
169 views

Using script to list .lyr files with broken links?

I would like to identify within a particular folder the .lyr files that have broken links. Some of these files are within multiple folders but all fall within one folder. My programming knowledge is ...
2
votes
1answer
115 views

How to set snapping specification in web map feature layer (arcgis)?

I need to set snapping to snap just to polygon vertex (by default it snaps to polygon vertex and edges). In this example and according to this, the map.enableSnapping() function should return an ...
1
vote
1answer
24 views

sDNA preparation network preparation fails

sDNA always fails when I run prepare network or integral analysis with a bit larger network system. I have to keep the model very small to complete process successfully. How could I solve this?
0
votes
0answers
23 views

Not Inputting values for certain parameters and working for certain parameters in Arcgis 10.2

I am running Python code in ArcGIS Toolbox, inputting 13 parameters. I have used GetParameterAsText(index) function to do it. However it takes values up to 8 parameters properly and the 13th parameter....
2
votes
1answer
3k views

How to calculate areas of land cover from a File System Raster?

I am using ArcMap 10.2. I have a raster displaying land cover. I also have a shapefile of polygons overlaid on top. I would like to calculate the areas of different land covers within the polygons. ...
2
votes
1answer
64 views

drop list from field to execute SQL request

I'm trying to create a python script that allows a selection attribute based on the name of a field in the attribute table of a layer. I would like to configure my script such a way that permits the ...
0
votes
2answers
2k views

overwrite feature class in arcgis online using python

I have access to Arcgis for Server and am trying to overwrite a couple feature service layers I have hosted on arcgis online. I usually overwrite these manually by uploading zipped shapefiles from a ...
3
votes
1answer
4k views

Appending feature classes from one geodatabase to another geodatabase for python

I am attempting to write a stand alone python script which will loop through the first GDB and append each feature class to its corresponding feature class in the second GDB. The error code that I ...
2
votes
1answer
44 views

Creating perpendicular line from point to nearest line

I have a layer containing lanterns (point layer, yellow blocks) and a layer containing hectometer signs (point layer, blue dots). In order to find the closest perpendicular distance from a lantern to ...
1
vote
1answer
22 views

Calculating mean index value of raster for grid cell map using ArcMap

I have a raster index map and and also a polygon fishnet. I would like to assign mean index value into the grid cells. How can I do that in ArcMap?
0
votes
1answer
21 views

FME Desktop 2019.2 Geodatabase_SDE writer copies Dataset parameter from reader when I said not to

I'm using FME 2019.2, Geodatabase_SDE reader and writer with different connection files. I have one database "Operations" with user1 and another database "Data_Sources" with user2. They both support ...
0
votes
3answers
2k views

Capabilities of the Analytical Hierarchy Process (AHP) in conjunction with weighted overlay tool

I am making a prospective map of fossil deposits using the "Weighted Overlay" ArcGIS tool. Input factor rasters are mostly topographic in nature (elevation, roughness, TPI, etc). Initially, I had ...
18
votes
9answers
61k views

Changing Field Name in ArcGIS for Desktop?

How can I change the field names (not the alias) in ArcGIS 10.2? I already found this page on ArcGIS support: "Renaming shapefile fields (Defense Mapping)" but there is is not "Defense Mapping" on ...
0
votes
0answers
31 views

Extracting raster values from an RGB

I have an RGB raster file and I need to get raster values. How can I extract raster values from this map? I need to reclassify raster according to the pixel value as "very high", "high", "medium", "...

1
2 3 4 5
60