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
0answers
20 views

Representing clustered points above 80,000 in map using ArcGIS 10.2.1 in such a way that their labels and points themselves are clearly visible?

I have places of Pakistan which are 85949 in number, I want to display them on a static map in such a way that points and their labels are readable and they don't overlap or map doesn't look messy. I ...
0
votes
0answers
34 views

What are geodesic distance calculations used In ArcGIS Desktop

I'm working on a project where I need to calculate geodesic distances for millions of lat-long points. Just out of curiousity and in a search for better methods of geodesic distance calculation, I'm ...
1
vote
0answers
14 views

Adding values to landuse class raster using ArcMap

I am currently working on a map that holds my animals' projected radio-locations from my work this summer. I have a current land class map downloaded from the USGS of the site; however, some of the ...
0
votes
0answers
38 views

CORS Policy issue with ESRI WFS Services

I am getting the below CORS policy issue when I am trying to load a simple WFS Feature Service using Esri/WFSLayer using https://js.arcgis.com/3.27/ Access to XMLHttpRequest at 'https://ons-inspire....
0
votes
2answers
29 views

Unable to get shape data from ArcGIS REST API

I'm trying to download hurricane data from ArcGIS. There are two things I can do. I can go to their web interface at https://services9.arcgis.com/RHVPKKiFTONKtxq3/ArcGIS/rest/services/...
0
votes
0answers
22 views

ArcMap toolbox failed to generate results for some users

Recently an odd problem with ArcMap happened in our office. Many people could not run the Toolbox properly. The usual map displaying was fine. But when using the Toolbox, even just a tiny job such as ...
1
vote
0answers
37 views

Preventing diagonal flow direction in ArcGIS Desktop

I would like to prevent diagonal flow direction/accumulation, as it leads to frequent "river shortcuts". As shown on the picture, instead of following the river in blue, because of the ...
0
votes
0answers
51 views

Counting self intersection in same shapefile with ArcMap

Is it possible to count the number of intersections in the same linear shapefile with ArcMap 10.2? My license level is advanced.
1
vote
1answer
39 views

Does ArcGIS Server support querying multiple layers of service in single request?

I am using ArcGIS REST services from a server-side app and parsing the JSON response. I need information from several different layers on the same service, and my queries are always for points. Is ...
0
votes
2answers
120 views

Generate Raster Mosaics in a folder using all TIFFs in the folder, then iterate in the next folder

I have 200+ directories, each directory contains x amount of TIFFs which I want to mosaic. I have a snip of code that will list the TIFF contents of all dirs under a parent directory, now I just need ...
0
votes
0answers
23 views

Mosaic images in double precision pixel type

I am trying to mosaic the raster images, but those images are in the double-precision pixel type and their pixel depth is 64 bit. How can I mosaic that raster image? I am using ArcMap 10.2 version. ...
0
votes
0answers
44 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 ...
0
votes
2answers
25 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
0answers
40 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
20 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 ...
0
votes
0answers
16 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" ...
0
votes
1answer
40 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....
2
votes
1answer
119 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
17 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
23 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 ...
2
votes
1answer
38 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 ...
0
votes
0answers
24 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....
1
vote
1answer
15 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 ...
1
vote
1answer
36 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?
2
votes
1answer
58 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 ...
0
votes
1answer
41 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
0answers
48 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
vote
0answers
78 views

Calculating distance to nearest coastline with ArcMap

I am using ArcMap to calculate the distance from a list of coordinates to the nearest coastline. I downloaded the shapefile of coastlines from https://www.ngdc.noaa.gov/mgg/shorelines/ and converted ...
0
votes
0answers
12 views

Feature classes not showing up together on ArcMap [duplicate]

I have 2 shapefiles which are not showing up together on data view on ArcMap. There is a similar thread before: Layers not showing up together in ArcGIS even when in same coordinate system but the ...
1
vote
1answer
41 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
25 views

Calculate 70% of the area inside a polygon based on the polygon centroid

I am trying to generate an area within a polygon based on the polygons centroid that covers 70% of the containing polygons area. I generated the polygon centroids as points but I do not know how to ...
1
vote
1answer
41 views

Select Issues with Converting Feature Class to Shapefile with only certain fields

This is not a copy of previous questions like Selecting certain fields from feature class to create new feature class in ArcPy? but builds on them. I have two approaches and two different issues. ...
0
votes
0answers
19 views

Creating Shapefiles from Feature Classes based on field names as lists in a Dictionary

My project is to take specific feature classes in a geodatabase and export them with only a selection of fields as a shapefile into another folder. Accomplishing that is easy enough. Doing it in a ...
2
votes
1answer
104 views

RunTimeError w/ for row in cursor

Every time I execute this, I get a runtime error pointing to my "for row in cursor," stating that A column was specified that does not exist. Any ideas how to fix this? import arcpy import os gdb = ...
0
votes
1answer
304 views

Zoom level issue with openlayers 5 and custom tile generation using gdal2tiles

Now i have changed my code but the output is still not what is expected, because the resolution provided is of 0 - 8 zoom but my minZoom starts from 12 itself, will i get my tiles rendered ?? how ...
1
vote
1answer
181 views

Changing shapefile longitude from -180-180 to 0-360 in ArcGIS?

I have a world shapefile. The shapefile which I have has Greenwich as the prime meridian. I got the world shapefile from this link. I have to convert this shapefile into a similar world shapefile as ...
0
votes
1answer
33 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
1answer
24 views

Querying County Open data endpoint and filtering by radius

I'm using python's requests and arcgis libraries for to query an open data endpoint for my county GIS data. I'm trying to query the recent sales data within a 2 mile radius of an address. I've ...
0
votes
1answer
20 views

String field being populated with a 0 when field calculating

I am trying to field calculate a text value into a string field and when the process is completed, a 0 is being placed in the field as opposed to my text value. Is there something that I am ...
1
vote
2answers
264 views

ArcPy Select Layer by Attribute for Date and Time

I have a list of trips with a field, "Trip Start Timestamp" thats type is date where it appears on the attribute table as M/D/YYYY HH:MM:SS AM/PM I need group all trips with the same trip start ...
0
votes
0answers
28 views

Overlaying Landsat 8 (raster) and shapefile using ArcMap

I would like to know what I can do correct such problem, those images are not overlaying while they have the same projection system. I used even the extent of the shapefile to change the one for the ...
1
vote
1answer
39 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 ...
0
votes
0answers
13 views

Symbolizing layer with graduated colors by a field in Excel File

I have a field in Excel file called percentage, I want the governorates colored by the percentage value, so the more value is the more red become darker in the governorate. So how can I do it in ...
1
vote
1answer
110 views

Remove layer assertion error

I am using below code to remove any layer if it has zero features in it. mxd = arcpy.mapping.MapDocument("CURRENT") aDF = mxd.activeDataFrame namE = ["No_Work_Done"] if int(arcpy.GetCount_management(...
1
vote
1answer
101 views

Add legend with ArcPy over my interpolated map

I have created an interpolated map with arcpy.IDW_ga and I am exporting it to PDF with arcpy.mapping.ExportToPDF. How can I add a legend to the map with ArcPy? In the end, I want to apply the code to ...
1
vote
1answer
173 views

Performing IDW for multiple Z field from attribute using ArcPy?

I have data with multiple columns as 1996_1, 1997_1, etc. I need to perform IDW for each column values and save it. I am a beginner with arcpy. Please help! The code is as follows: import arcpy, os ...
0
votes
0answers
81 views

rasterio.open() giving parsedpath or unparsedpath error

I am using rasterio to get elevation values from a raster. I am using arcpy module and rasterio module and I have published this script as a geoprocessing service. I am able to run it properly as a ...
1
vote
1answer
740 views

Authenticating ArcGIS Server Feature Service in QGIS?

I am trying to add a protected Arc layer to a QGIS project and have had no success. What I have tried so far: 1) Generate token using the token service url... 2) Create a QGIS authentication ...
0
votes
1answer
44 views

Attribute Error when trying to run a script with Zonal Statistics

When I run my script I get the following attribute error: Traceback (most recent call last): HouseGradeBasementElev.tbx#HouseGradeBasementElev.py", line 31, in <module> AttributeError: '...
0
votes
0answers
21 views

Selecting Polygons of one layer with information from table using ArcGIS Desktop?

I have two 2 datasets: A shapefile with many polygons. They all have an ID. A table (.csv) that has one column with IDs. I need to select all Polygons in 1) that are mentioned in the column of ...

1
2 3 4 5
60