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
4
votes
3 answers

Why isn't compiler optimizing away this code

I have a code using third-party-tool iterating over a collection of points. for (int i = 0; i < pcoll.PointCount; i++) { /* ... */ } When doing profiling via dotTrace I noticed that the PointCount-proerty is accessed every iteration (see picture…
MakePeaceGreatAgain
  • 35,491
  • 6
  • 60
  • 111
4
votes
3 answers

How to display messages while creating directories?

I am looking for input to print a message when creating directories. Im in a mixed os environment but in my case using Win 7, python 2.7, ArcGIS 10.2. The code below works fine as far as functionality goes, and if the directory does exist the…
4
votes
3 answers

Extract points within a shape from a raster

I have a raster file (basically 2D array) with close to a million points. I am trying to extract a circle from the raster (and all the points that lie within the circle). Using ArcGIS is exceedingly slow for this. Can anyone suggest any image…
user308827
  • 21,227
  • 87
  • 254
  • 417
4
votes
4 answers

performance at arcgis silverlight api

I am using GraphicsLayer for road symbology with SimpleLineSymbol. my code is same with below code: for (int i = 0; i < 200000; i++) { myGraphicsLayer.Graphics[i].Symbol = mySimpleLineSymbol; } this code run fast but draw…
Mohammad
  • 528
  • 4
  • 21
4
votes
1 answer

Interpolate coordinates at unrecorded timestamps

I have a gps units that records coordinates at rather random intervals (sometimes every 12 sec sometimes every 6 sec). There's another instrument that measures particulate matter at every second. I'm looking for a way to interpolate the coordinates…
moho wu
  • 471
  • 4
  • 13
4
votes
1 answer

How do I add marker to a ArcGIS map on android?

I am trying to add a marker on the ArcGIS map on my Android application. However, after adding the graphics layer, my map does not appear. I'm new to Android application programming and would really appreciate any help. I'm not sure what I'm doing…
Alxy
  • 73
  • 7
4
votes
1 answer

Convert ArcGis Geographic Coordinates Lat Long wkid: 4326 to Projected Coordinates wkid: 102000/3857

When using JS ArcGis API, is it possible to create a point in ArcGis from lat and long like this var testPoint = new Point(-98, 38); or this var testPoint = new Point(-98, 38, new SpatialReference({ wkid: 4326 })); and convert it to a different SR…
AzIz00
  • 65
  • 2
  • 7
4
votes
1 answer

Replace values occuring once in raster by NA

I have vector of values(generated from raster - Raster package - by function clump in R): values(rc) 1 NA NA NA 2 NA 2 2 NA NA NA NA NA NA NA 2 NA 2 2 NA 2 2 NA NA NA NA NA NA NA 2 NA NA NA NA NA 3 NA 4 NA 2 NA 2 NA 5 NA NA 3 NA NA …
maycca
  • 3,848
  • 5
  • 36
  • 67
4
votes
2 answers

dojo/parser::parse() error TypeError {stack: (…), message: “Cannot read property 'toString' of undefined”}

I'm trying to get the overview map example working from here: https://developers.arcgis.com/javascript/jssamples/widget_overviewmap.html in my site. I have two errors. Chrome gives the one above in the title and IE gives "dojo/parser::parse()…
noobieDev
  • 3,063
  • 3
  • 14
  • 14
4
votes
2 answers

Time from sun's position and observer's location

I have satellite imagery with the latitude, longitude, and position of the sun (azimuth, zenith, and elevation), but no time-stamp. Short of using an astronomy almanac, is there a way to calculate the time from the sun's position and image…
4
votes
2 answers

error importing stats from scipy- new computer with new ArcGIS 10.1 install

I have a new machine with a fresh install of Arc10.1. When ArcGIS installs it also installs python 2.7 with numpy. My script can import scipy (import scipy), but when I try from scipy import stats I get: Traceback (most recent call last): File…
therMapper
  • 43
  • 2
  • 7
4
votes
1 answer

test suite paths when using ArcGIS JSAPI as an alternate loader in intern

I have an application built using ArcGIS Javascript API and I've been adding tests using intern. I run it under IIS in Windows 7 while developing. I had no trouble getting the intern tutorial working when getting started and after looking at How to…
wizardbyte
  • 110
  • 5
4
votes
2 answers

Implementing Hoey Shamos algorithm with C#

Okay, I am now getting the correct information from my current algorithm! However, with 700,000 polygons to check, it's just way too slow! The previous issue is fixed (My Line2D intersectsWith method was incorrect) Now it's a matter of identifying…
Evan Parsons
  • 1,139
  • 20
  • 31
4
votes
5 answers

Creating custom Google (or OpenLayers?) maps

I'm currently working on a project which maps items to a physical location within a building. We have a map created in our GIS system (ArcGIS), and are able to resolve items to the appropriate shape ID on this map. We want to create a web map using…
CapBBeard
  • 978
  • 10
  • 22
4
votes
4 answers

How can I call a javascript function from inside a method?

I am inside of... public class bgchange : IMapServerDropDownBoxAction { void IServerAction.ServerAction(ToolbarItemInfo info) { Some code... and after "some code" I want to trigger [WebMethod] public static void DoSome() { } Which…
mrjrdnthms
  • 1,549
  • 4
  • 24
  • 35