Tagged Questions

Use this tag when ArcGIS 10.0 (or any of its service packs) is the ArcGIS Platform version you are using.

learn more… | top users | synonyms (2)

4
votes
2answers
12k views

Looking for a Tool to Calculate Distance Between Points (Between Layers)

I am a college student using ArcEditor 10.0 for a semester project measuring distance to hospitals from census tract centroids. This is my first time using ArcGIS, and I have no formal training. So ...
1
vote
0answers
128 views

What does SetHistogramData do?

I run the following code: IClassify classify = new NaturalBreaksClass(); ITableHistogram tableHistogram = new BasicTableHistogramClass(); IBasicHistogram basicHistogram = tableHistogram as ...
2
votes
0answers
2k views

Source for ArcGIS Layout Templates?

I am running v10 of ArcGIS for Desktop. I am aware of the OTB templates provided with ArcGIS. - However, I would like to supplement these layouts with additional layouts. I am also aware of the Map ...
0
votes
1answer
930 views

How to use variable field name in arcpy.SearchCursor?

I have code that says fld = fieldName rows = arcpy.SearchCursor(fc) for row in rows: x = row.fld How do I use a variable for my field name in python ArcGIS 10 on windows? Thanks.
1
vote
0answers
210 views

Building query for query attribute task in arcgis server manager for a layer related to a table

I my map document (.mxd), one layer (BUILDING with spatial data) is RELATED to a stand-alone table (EMPLOYEE) with one-to-many relationship having a common field call dept number (one building with a ...
12
votes
5answers
6k views

Obtaining extent of each polygon in shapefile?

In arcgis 10 and python I want to get the extent (xmax, ymax, xmin, ymin) info of each of the polygons in a shape file. I can get the extent of the whole shape file using ...
1
vote
0answers
256 views

UniqueValueRenderer and ClassBreaksRenderer configuration

So I can create one of these renderers based on parameters I let the user set. Some parameter combinations either create invalid conditions or no conditions at all - missing data, too many breaks or ...
3
votes
0answers
269 views

IUniqueValueRenderer on Polyline and Points made my Features all invisible

I am currently using IUnique value renderer like this: foreach (string nodeType in nodes) yield return new KeyValuePair<string, ISymbol>(nodeType, CreateNewSymbol() ); public static ...
5
votes
3answers
1k views

What is Quickest way to Copy Single Selected Polygon from Very Large ArcSDE Feature Class?

I have selected a single polygon, which is large but not massively complex, from an ArcSDE 9.3 for Oracle feature class with 3.5 million polygons using ArcGIS Desktop 10.0 SP3. I would simply like ...
4
votes
1answer
371 views

automating forest cover calculations with Python

I have a layer of forest cover comprising ~ 30,000 individual forest patches, and I need to calculate the amount of forest cover within a 5 km buffer of each patch. The buffers all overlap each other, ...
6
votes
1answer
479 views

Clearing map cache - ArcGIS Engine

Is there a programmatic way to clear the cache of a map in ArcGIS Engine 10.0? It is apparent that there is some caching scheme operating under the covers, and I'd like to clear all of its cached ...
1
vote
3answers
1k views

field calculator syntax error

I'm trying to calculate the direction the 'generate near table' function gives me into actual directions, N, NW etc. Azimuth would be a start too. I tried this script in the field calculator but it ...
9
votes
2answers
5k views

How to list feature classes in multiple geodatabases in a folder?

I have a folder with numerous geodatabases in it. Within the geodatabases are feature classes. I would like to get a list of the feature classes in these geodatabases using a Python script. I've only ...
2
votes
2answers
2k views

How to automate point-in-polygon queries in ArcView?

Layer1 = point shapefile (multiple points, geocoded) Layer2 = polygon (1 attribute; (1,2,3...)) I want a non-gis person to be able input a single address and be told the attribute of the polygon ...
6
votes
5answers
4k views

How to map the frequency of overlapping points within an urban area?

I've been asked to do a favor for someone since I'm "the mapping guy" and could use some theoretical help by way of examples since my actual cartography skills are a little rusty. I have a series of ...
2
votes
2answers
574 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)? ...
2
votes
3answers
1k views

ERROR 000800 when trying to snap points layer to line or buffer layer

I am very new to GIS, so go easy on me. I am using ArcCatalog 10.0 and trying to snap a set of points to another layer that has roads in it. The points represent 10th miles along the road. Here are ...
3
votes
1answer
493 views

Unable to create temporary GeoDatasets in g_g_g folders

I am converting a VBA macro that was written for ArcGIS 9.3 to a VB.NET project using the ArcGIS 10.0 .NET SDK. I am getting the following error whenever the code tries to create a temporary ...
4
votes
1answer
384 views

How to write code for downloading a file in ArcGIS 10?

I have an offline database which has lat & long coordinates. The functionality I need to provide is to have a (latitude, longitude) point which will have country and city in it. Once the user has ...
1
vote
4answers
3k views

Rotating Map Elements in ArcGIS 10.0

I have imported a shapefile whole polygon is diagonally oriented. Rather than rotate the polygon, I would like to adjust the scale bar/legend/title to fit this unique orientation. Would like to know ...
5
votes
1answer
538 views

How do I cast shadows from 3D Objects in ArcScene?

I would like to cast shadows from my 3D objects in ArcScene onto the surface and other objects. (Much like I can in SketchUp). Is it possible? If so how?
2
votes
0answers
109 views

geodatabase/workspace content viewer control [closed]

I'm in the process of developing a windows form (desktop) app that will have the ability to display content from user-provided personal geodatabases (.mbd files). I want to create a custom control ...
1
vote
0answers
60 views

Strange Behavior for TOCControl PopupMenu

The sample "TOCControlContextMenu" demonstrates how to display a context menu from the AxTOCControl. When I run this sample and right-click on the TOC control the context menu pops up and remains ...
2
votes
2answers
2k views

ArcGIS Server Publishing Geoprocessing Service

I'm modeling this ESRI tutorial for creating geoprocessing service with ArcServer and I'm getting this error when trying to publish the service: Service was published but cannot be started due to: ...
6
votes
1answer
670 views

With arcpy, how do I detect relationship classes in a file GDB (or can't I)?

I would like to be able to detect relationship classes in a file GDB. Because users of my script might have only an ArcView level license, they would not be able to manipulate the schema of a feature ...
3
votes
1answer
444 views

Why is “Replace With Model” not replacing my multipatch with a SketchUp model?

I am following the steps recommended by ESRI: extrude polyline in ArcScene Save as Layer File convert Layer file to multipatch convert multipatch to Collada import collada file to Sketchup edit ...
4
votes
1answer
337 views

DBMS and ArcSDE Architecture for Large (Mostly Non-Spatial) Dataset

I have ~1000 fixed points representing data collection stations with multiple sensors, and a csv that is ~4.5GB of values in the format: id pointid sensor measdatetime measvalue 50345 500 ...
1
vote
1answer
326 views

ctypes: bridge in python for a dll

I have a dll and I'd like to call it in python. The dll needs of parameters. Do you know how to pass a radiobutton parameter and a checkbox parameter? thanks
9
votes
3answers
8k views

How to create a shapefile in ArcGIS 10 using arcpy?

How can I create a shapefile using Python in ArcGIS 10? I have lat & long. From this I need Python code which will create a shapefile and display it in ArcGIS 10. Thanks.
7
votes
4answers
5k views

How to release the lock on a gdb?

I have problems to release my gdb in ArcGIS10. My tool works with an local gdb, but I failed to release it after the process. In Ag9.3 I can release it simply by Marshal.ReleaseComObject(workspace), ...
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 ...
8
votes
2answers
5k views

Why Intersect gives ERROR 999999: Error executing function Invalid Topology [Too many lineseg endpoints]?

I am trying to run an Intersect process in arcgis 10 sp 3 with 2 file sets (aspect and slope) from up to a 1m DEM across an area of 65,000sq km. The aspect has 9,930,384 records and the slope has ...
3
votes
2answers
644 views

Why is my Definition Query not returning any records?

I am currently working on a mapping project and only need 8 tenements out of many to appear. I have gone into the query builder to complete this and unfortunately it will not work. Into the builder a ...
1
vote
1answer
104 views

Named ITable removal

I am dynamically creating a join between a GeoFeatureLayer and an external ITable derived from a SQL query and opened with OpenQueryClass(). It works. Now if I could only delete the Join!? But even ...
2
votes
1answer
262 views

What is the interface/property in ArcObjects that corresponds to a layer's dataSource property in arcpy?

I am trying to get the "Catalog Path" of a Feature Layer's data source in the table of contents of ArcMap using ArcObjects. This is very straightforward in arcpy but seemingly not so much in ...
2
votes
2answers
967 views

ArcGIS10 Trace tool not honoring classic snapping

I have just installed service Pack 3 for ArcGIS 10 Desktop. Normally I use the new snapping environment, so I am unsure whether this is a new issue with SP3 or if it has been the case the whole time. ...
1
vote
1answer
488 views

Move Extent Locator Display python error

I am trying to use ESRIs generated python code to move around my Extent Data Frame based on location of my Main Line shapefile, as to not have the Data Frame over top of the main line when developing ...
1
vote
1answer
414 views

Creating JPEG images of geoprocessing output using ArcObjects?

I'm running batch processing on several datasets using a standalone EXE written in .NET. There are many output files for each dataset (>25 featureclasses/rasters). For every dataset I would like to ...
1
vote
1answer
112 views

For ArcGIS tool can Illustration of Item Description be used as Thumbnail in Contents of Catalog window?

I've made a Python script tool using ArcGIS Desktop 10.0 SP2 and have accessed its Item Description to Update its Illustration by browsing to a *.png file. The expected Illustration then appears in ...
4
votes
1answer
682 views

Raster Calculator dynamic map algebra expression

Is it possible to dynamically construct a Map Algebra expression that is dependent on the output of another tool, either using model builder or arcpy? For example, say I have a model that performs a ...
3
votes
1answer
873 views

Multiline VBScript Label Expressions in Arcpy

I am able to set simple label expressions, but when I try to set multiline expressions (which all VBScript expressions are) it does not get copied into the expression box properly. I have tried using ...
2
votes
1answer
1k views

Trying to instantiate geoprocessor with .Net vs 2010

Retrieving the COM class factory for component with CLSID {5374EC4C-1AA2-4829-A811-DE624ECEC23F} failed due to the following error: 80040111 ClassFactory cannot supply requested class (Exception from ...
3
votes
2answers
599 views

How to get all features in current extent

I like to add text information to each feature in the shown map extent in my MapControl/PageLayoutControl. Adding the text is not a problem, but I couldn't find a way on how to get the features. Is ...
6
votes
2answers
642 views

Display map scale (like 1:20.000) next to ScaleBar

In my PageLayoutControl I add a ScaleBar. Additionaly I like to show the map scale/ratio (e.g. "1:20.000") next to it, but didn't find a way to achieve this with the ScaleBar. Am I missing something ...
5
votes
5answers
3k views

Volume of water in basin with reference to incremental height of DAM?

I have a DEM of my area. I did watershed analysis with Arc Hydro. I want to calculate "Volume of water in a basin with reference to incremental height of DAM" Is there any method, tool to give ...
3
votes
2answers
1k views

Ensure relative path in Arcgis layer files

I'm looking for the arcgis python equivalent of the VBA How to save a layer file with a relative path. I'm using a script to change the paths in a collection of about 75 layer files before ...
4
votes
1answer
915 views

Can I view ArcScene 3D models in a free viewer such as ArcReader or another 3rd party viewer?

I would like to build a complex 3D model in ArcScene, export it and send it to someone else that does not have ArcGIS with 3D Analyst. The idea is to interactively navigate the model during a ...
16
votes
5answers
3k views

Why do ArcMap.exe processes stay open after I close ArcMap?

I realized that this is happening months ago when I was not able to alter table structure in an instance of ArcMap after another instance was closed. When, for example, I remove or add some fields to ...
2
votes
2answers
568 views

Is it possible to reproject KML using ESRI's Javascript API?

Specifically into NAD83. Google tells me that KML only supports WGS84, but I can't seem to find much info on being able to reproject KML using ESRI's Javascript API. Basically, I've got this base ...
2
votes
1answer
229 views

Will ActiveSync 4.1 work with ArcPad 10.0.2?

Because Microsoft's ActiveSync 4.5 will not work on machines with Windows XP (SP3), from what I've read I need to install ActiveSync 4.1. Has anyone tested this on ArcPad 10.0.2?