Use for questions about Esri the company ONLY rather than its products which will usually have separate tags.

learn more… | top users | synonyms

8
votes
2answers
722 views

What are the implications of using .NET Generics to store ArcObjects?

I'm wondering what are the implications of using Generic types in .NET to store ArcObjects, such as ILayer, IField, etc. The compiler throws me a warning when using these kind of values public class ...
3
votes
1answer
354 views

Has anyone completed an ESRI Summer (Student) Internship

Taking a look into the ESRI Summer Internship program today, I was hoping to find a little more on this subject than what I have been able to find. I was actually hoping that perhaps there are some ...
2
votes
1answer
762 views

ESRI - Polyline insertPoint issue (JS 2.5 API)

I am trying to basically draw a path on an esri map. with circles like so, but when I call Polyline.insertPoint it doesn't show the new segment: I keep adding points as time progresses. My ...
13
votes
2answers
300 views

Is there a good way to get a diff between an old and a new version of an SDE database?

Is there a tool or a process that can reveal changes made to the schema of an SDE database when comparing two versions of the same database hosted on different servers? I have an old database that ...
4
votes
2answers
2k views

Programmatically alter AliasName for fields defined in layer file (not underlying source)

Is there a way to alter the AliasName on a layer file only, and not the underlying shapefile or feature class? I have a few hundred layers that define joins between hundreds of tables with census data ...
1
vote
1answer
3k views

Using the arcpy.UpdateCursor to delete rows doesn't delete based on counter

I am trying to delete rows from a shapefile using arcpy.UpdateCursor. The first thing I did was get a unique list of values from the key field "PolyGUID", then I iterate that list doing a ...
8
votes
2answers
2k views

Convert an ESRI File GDB Table to Access 2007 ACCDB table programmatically

Does anyone know of a method to convert an ESRI File Geodatabase Table into Access 2007 Table programmatically. I have been trying using the PYODBC library and a series of insert statements but am ...
0
votes
1answer
2k views

Moving graphics in Esri Flex Feature Layer

I have an ESRI Flex 2.3 FeatureLayer with some graphics in it. I am able to access the graphics geometry and parse the geometry as Esris MapPoint class for Flex Api. I am calling the update(x,y,srs) ...
2
votes
4answers
600 views

Where can I find a shapefile of zoning for the city of Phoenix and other municipalities?

Where can I find a shapefile of zoning for the city of Phoenix and other municipalities? I would rather not have to geo-reference a picture and digitize over it, there must be some data already out ...
9
votes
2answers
4k views

Log file for ArcGIS geoprocessing?

Whenever I run a geoprocess overnight, it seems my computer reboots. Does ArcGIS save some log file information? Where does it save it? For example, when I run a large dataset or image process I need ...
3
votes
2answers
2k views

How to easily enter a point feature in ArcGIS? (arcmap10)

My job requires me to enter point features into ArcGIS 10 which correlate to underground RFID markers that mark underground telecom infrastructure. Right now, the workflow requires someone to go out, ...
0
votes
1answer
541 views

Going round in Circles..Buffering/ArcObjects/VBA

I've just started learning VBA and Arcobjects, and at the moment just playing around tyring to do different things. What i am trying to do is Click on a tool, and allow the user to put a point ...
2
votes
1answer
665 views

Custom Application throws HRESULT if the MXD/MXT has layers with data source missing

This is in continuation to my previous post regarding getting ArcMap reference without launching it. The idea of the application is to map layers (pointing currently to an unreachable server; ...
2
votes
2answers
590 views

Detect map scale from raster dataset

Let's suppose you have a raster dataset (in a folder or in a personal database). How can you detect what map scale it represents (assuming of course that all rasters have same dimensions/resolution)? ...
1
vote
1answer
2k views

Converting Microsoft Visio 2007 .vsd file to xml workspace document (without the macro)

I was just editing my geodatabase schema in Microsoft Visio and noticed that it is the new 2007 version, rather than 2003 which had a handy export tool, therefore I downloaded the ESRIExportToXML ...
2
votes
1answer
732 views

What are nodes in ArcGIS and how do you create them?

I want to create a elevation profile of a cross section so a polyline on ArcGIS. I wanted to regularly space around 1000 points per 1700m long xsection and extract elevation data for each node/point ...
3
votes
2answers
666 views

How to use the ISpatialFilter interface with ArcGIS 10.1?

From what I've heard till now: 1) ArcGIS from version 10.1 and forth will only support http connections: local connections will not be supported any longer. 2) The code ESRI.ArcGIS.Carto.IMapServer ...
8
votes
1answer
2k views

Editing a shapefile in ESRI ArcMap (programmatically)?

Is this something that can be done? For instance if I created an overlay on a map and saved it as a shape file, I want to go and edit this (pre-existing file.) overlay...Either add points/remove ...
4
votes
3answers
156 views

How do you navigate the ArcObjects OMDS?

How does everyone get round navigating the different OMD's I can work with single interfaces no problem, but when i have to use multiple interfaces I struggle to get my head round go through different ...
2
votes
2answers
2k views

How to I find the nearest line to a point?

I am new to building custom ArcObjects, and am looking for a custom python script for arcgis version 10 that will loop through a point shapefile to find the nearest line segment of a line shapefile ...
5
votes
1answer
693 views

Setting “REAL” work/scratch workspace in ESRI/ERDAS etc

I thought the issue was only in ARCGIS but it seems that ERDAS does the same thing. I have my C with 1.7TB and my D with 10TB and my scratch set to d:\scratch but still ERDAS (and ESRI) fills my ...
2
votes
1answer
162 views
0
votes
1answer
291 views

ArcObjects: esriSRGeoTransformation enum for WGS_1984_Major_Auxiliary_Sphere_To_WGS_1984

There is geoTransformation named: WGS_1984_Major_Auxiliary_Sphere_To_WGS_1984 I know it exists because I can access it with Projection Tool in ArcToolbox. But for the life of me I cannot find it ...
2
votes
2answers
1k views

Unable to cast COM object (IMapServer --> IMapServerObjects)

I have just deployed an AGS-based application to our web server. This app worked great in development, but after deployment to the server I get the following errror: Unable to cast COM object of type ...
3
votes
1answer
175 views

Build ESRI addin with C++

Is it possible to build an ESRI addin (.esriaddin) using C++? I see templates for .NET and C# only but perhaps there is a manual method?
3
votes
1answer
309 views

How to listen for ESRI drawing events using ESRI drawing tools in ArcObjects?

I am trying to make use of the built-in ArcObjects drawing tools (ie ControlsNewCircleTool) - but I need to listen for the events so I can add the drawing graphics to the database in our application. ...
3
votes
2answers
356 views

ArcObjects IFeatureConstruction::PlanarizeLinesFromCursor error

I wrote a little tool in ArcObjects/C# for planarizing a line feature class. I am using IFeatureConstruction::PlanarizeLinesFromCursor because I need to apply a query filter. Now, I figured out a bug: ...
11
votes
5answers
6k views

ArcSDE connection limit exceeded

We routinely exceed ArcSDE's connection limit, about once a week. Many of the "connections" are nothing but orphaned records in the SDE.PROCESS_INFORMATION table. Is there any way to clean up these ...
1
vote
1answer
226 views

Get the names of currently visible rasters from a catalog

I have a simple win form app with a map control on it. The map has a layer (MADtedLayer) that was initialized from a catalog in a personal database (Access). The files displayed are DTED. I need to ...
5
votes
5answers
627 views

Web-based map authoring with ArcGIS Server?

I'm embarking on a project in which users will author, save, and share their own maps over the web. We will provide them with a large number of feature classes, but users will effectively author their ...
5
votes
3answers
1k views

How to let the user select a spatial reference using ArcObjects?

I need to build a tool where the user selects a coordinate system for a given CAD file. What is the easiest way to do this with ArcObjects? Obviously, I could populate a list with the hundreds of ...
5
votes
1answer
921 views

Drag a Feature in ESRI, ArcObjects Engine (AxMapControl)

I'm trying to implement moving a point feature in a custom C# ArcGIS Engine application on an AxMapControl. I've already created a custom tool to do some other things. And I can track when the user is ...
8
votes
1answer
1k views

How can I tell what licensing level my ESRI GIS server is from client tools?

From client tools, like ArcCatalog, is there a way to know if the GIS server I am connecting to is running under a workgroup or enterprise license? Also, is it possible to tell if the edition is ...
8
votes
4answers
956 views

Future of ArcGIS Mobile

I'm not sure we can get a straight answer from ESRI on this question at his point because there is so much uncertainty with Microsoft in this area right now but "What is the future of ArcGIS Mobile ...
4
votes
1answer
2k views

Is there a simple way to compute the UTM Zone from a lat/long point?

I am trying to convert a latlong point to UTM. To define UTM projection, I need to calculate zone for the point. I am trying to figure out the best way to do this. One way to do this would be use ...
3
votes
2answers
622 views

Arcpy: print to PDF with Vector shapefiles, text etc

I have a small python script which exports a set of data driven pages to PDF. This works fine, including appending each page to an 'all' pdf. My issue is that it creates rasters of each layer in the ...
4
votes
2answers
3k views

Arcgis: How to find polygons within a polygon?

I am new to GIS and ArcGIS. I have a problem I need to solve: I have a set of polygons, some of which enclose other polygons. They are lake polygons, and within lake polygons, are smaller island ...
7
votes
1answer
1k views

Browser support for ESRI ArcGIS JavaScript API (v2.4)

Can anyone give me information or a good pointer on browser version support in the ESRI ArcGIS JavaScript API v2.4? I can't find much in their documentation beyond changes in support for specific ...
2
votes
3answers
206 views

ArcGIS Server -> Internet Service works well, Local Service fails

I have a web ADF application which connects to a map service (either via WMS or Internet Service using http). I'd like to use DCOM connections (faster as the documentation states), so I would like to ...
1
vote
2answers
423 views

How to create a Esri Context Menu on desktop development

How can i create a context menu on ESRI Arcgis Desktop.And after creating it,how can i use it while a base command is open and active.I use C# but i can understand visual basic. Thanks for your ...
0
votes
2answers
512 views

arcGIS ADF - map disappear when I add graphic layers

I'm trying to add a graphic layer in a web ADF application with arcGIS for asp.net, but every time I add a graphic layer to the MapResourceManager, the map disappears! To better understand this: ...
3
votes
1answer
385 views

changing ArcGIS Viewer for Flex page title

perhaps I'm just missing the obvious. when working with the ArcGIS Viewer for Flex application is it possible to change to title page tab to something else e.g. sometitlepage.com or will the Internet ...
0
votes
1answer
112 views

Implement IEditSketch interface for custom cad tools

I want to build cad tools which will be used in municipality applications on esri.Let me tell the question.The user wants to edit on the map and does it by using IEditSketch.But i want to write a ...
1
vote
2answers
793 views

ESRI Desktop Zoom to the feature

i find a feature by using IFeatureClass.Search then i want to show the feature on the screen.How can i do that ? is there a zoom interface or else ?
2
votes
2answers
352 views

Throwing E_FAIL errors so edit operation is aborted

I need to abort an edit operation somewhere, determined by a certain condition. Heres the code I'm using: private const int E_FAIL = -2147467259; private void ...
3
votes
1answer
2k views

Can you add dynamic text from a count of features in a layer with ArcGIS 10 ArcPy.mapping?

I am new to writing scripts, and I am trying to make a map series using ArcPy.mapping and data driven map pages. I would like to put some text on the map that updates for each map in the series ...
5
votes
2answers
360 views

Symbolizing individual highway network segments in ArcMap

I have a highway layer that I need to style in ArcMap in such a way to differentiate between individual highway sections, ideally using no more than 6-7 distinct colors. Each highway is divided into ...
3
votes
1answer
150 views

Using ESRI Python's Geoprocessor Via mod_python

I am working on a number of geoprocessing services to be accessed solely by web clients. The traditional method of encapsulating this type of stuff in toolboxes and then publishing the toolbox just ...
6
votes
1answer
1k views

How to always enable an ArcGIS toolbar?

On ArcMap 9.3.1, is there a way to ensure that a toolbar is always enabled? In my case, I want the Standard toolbar (the one with new/open/save/print icons) to always be visible. I'd like the ...
2
votes
1answer
316 views

Enumeration Problem with Eclipse and ArcGis 9.3

i'm recently using Python for my Processing work that I do with ArcGis 9.3. I figured out, that using Eclipse (with PyDev) could be helpfull for debugging purpose. The geoprocessor is starting as ...