Questions tagged [arcgis]

ArcGIS is a platform consisting of a group of geographic information system (GIS) software products produced by Esri. The GIS Stack Exchange should be considered for questions with this tag.

Overview

ArcGIS consists of products, versions, applications, license levels and components.

ArcGIS was first launched in 1999 and excepting server offerings is available on Microsoft Windows only. Prior to 1999 Esri had a number of different product lines (ArcView3, ArcInfo Workstation, MapObjects, ArcSDE) on Unix and Windows that were loosely integrated and sometimes incompatible. Many of these products can be interacted with via programming languages, such as VBA, .NET languages, and Python.


Tag usage

Consider whether the question is more suitable on Stack Overflow SE or GIS SE which has separate tags for its products and components e.g. arcgis-desktop, arcgis-server, arcpy, arcsde, etc

2794 questions
5
votes
1 answer

Is there any way for get Silverlight UI Element as an image?

I want to export an image of my ArcGIS map object with the graphics layer on it. I've tried esri's own web services for export but they're not so efficient and clear, not supporting complex geometric shapes also they're not support local layers such…
Cem Sönmez
  • 506
  • 1
  • 3
  • 15
5
votes
3 answers

Why the need for if(0) and if(1)

Look at this piece for code in ArcGIS 3.0 for javascript. https://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0 Inside there is "if(0)" and "if(1)", why is there a need for this? Isn't if(0) always false and if(1) always true?
yeeen
  • 4,911
  • 11
  • 52
  • 73
5
votes
3 answers

unit test smell

I am trying to change my unit testing of ArcGIS, and start using mocks (I use rhino). When I started to get into writing the tests, I noticed I have to start mocking a lot of objects, and stub a lot of methods for even a single test to pass. For…
Noam Gal
  • 3,315
  • 3
  • 36
  • 53
4
votes
1 answer

Can't Install/Uninstall Python Packages due to ValueError and PermissionError: [WinError 32]

I'm new to both Python and ArcGIS Pro; I'm just getting started and I'm trying to install a couple of Python packages in order to read, modify, and write Feature Class files using a Spatially Enabled DataFrame (SEDF). To do that, I need to install…
A.Student
  • 41
  • 2
4
votes
2 answers

Launching python subprocess has different behavior depending on launcher

I'm attempting to launch Python 2.5 from Python 2.6. The reason for this is a compiled library I'm trying to use (GDAL) isn't supported for the version of Python distributed with another program (ArcGIS). Here's what I'm attempting to do. The…
Rich
  • 12,068
  • 9
  • 62
  • 94
4
votes
3 answers

add a row of dummy text to data frame

for reasons that have to do with checking an error in ArcGis, where my data is going, I need to add a row at the top that contains dummy variables, which I would like to be Column1:Column(n) For example, I have this: ID A B C 1 A 1 8 set1 2 …
tchoup
  • 971
  • 4
  • 11
4
votes
1 answer

Accessing secured FeatureLayer on ArcGIS online with JavaScript API

I am building a web app in a low code platform (Mendix). I am connecting the web app with ArcGIS online resources via the ArcGIS JavaScript API v4.19, which all goes pretty smoothely. The challenge arises when I want to load specific secured ArcGIS…
Ivo Sturm
  • 130
  • 7
4
votes
4 answers

Sorting geospatial data

It seems that there is no default way to handle a sort on a GEOSPATIAL data type. By this I mean the Type itself, and not a function, for example, getting the Area or Latitude of a type. For example, in something like BigQuery, it is not even…
samuelbrody1249
  • 4,379
  • 1
  • 15
  • 58
4
votes
1 answer

Esri-arcgis request intercept based on wildcard route

I'm trying to implement a MapLayer in my react application. The map is only accessible over a proxy which needs authentication to identify the users for each end every request. To provide the token i added the following request interceptor to make…
4
votes
0 answers

ArcGISRuntime arrows between dots

I am using ArcGISRuntime to display dots on the map as well as lines between them. The lines and the dots are displayed correctly, but I cannot set it to display the lines as arrows. By using this line of code the dots and the lines are displayed as…
Richard
  • 1,087
  • 18
  • 52
4
votes
1 answer

Arcgis get parameter value and edit in JS before append to html

I'm using ArcGIS javascript to pass some value from map service to front-end HTML. I use ${parameter_name} syntax and pass it into HTML by var html = []; html.push('
Parameter value is…
Taurus Dang
  • 551
  • 1
  • 4
  • 19
4
votes
2 answers

Multithreading in ArcGIS with Python

I have a python script that works great when run by itself. Based on a hardcoded input directory it scans for all .mdb files and puts that into a list, then iterates through them all in a for loop. Each iteration involves multiple table…
BasilV
  • 131
  • 1
  • 8
4
votes
2 answers

installing pip on python 2.7.8 on windows

I am trying to install the module pip for python 2.7.8, the one that arcGIS installs for you. I am using the bootstrap method of installing pip and I am running into an error when I run get-pip.py with Command Prompt. I get the following…
Vincent Law
  • 97
  • 2
  • 9
4
votes
1 answer

How to add markers to ArcGIS map with XY coordinates

How do I add markers to a map with coordinates? I saved the extent in database along with X,Y coordinates after finding the location. When coming back to the application, I don't know how to add markers with coordinates. var s = "XMin: " + ext.xmin…
Vani
  • 1,345
  • 4
  • 27
  • 48
4
votes
2 answers

How to trigger a Graphic's click event?

I'm using Esri Javascript API 4.5 When the map loads, I'm fetching point coordinates from external source and then plotting it on the map using Graphic class and assigning a PopupTemplate to that graphic. The Case The graphic is successfully plotted…
asprin
  • 9,579
  • 12
  • 66
  • 119