arcgis

Updating a For Each Loop in Python

The below python code takes a list of files and zips them up. The only File Geodatabase (File based database) that I need to have is called "Data" so how can I modify the loop to only include the File based database called Data? To be more specific a File Geodatabase is stored as a system folder that contains binary files that store an...

Problem making attribute table of raster in ArcGIS

I have a python script that makes an attribute table of a raster. This runs through all the rasters that I have which are floats, converts them to ints, then makes an attribute table. On the first 3 rasters, I get a warning message, Value range for c:\raster2 exceeds 100000 and number of unique values exceeds 500. Please use BUILDVAT...

Can custom map tiles be consumed via ArcObjects within my ArcGIS 10 Desktop AddIn?

Can I programmatically consume and render custom map tiles in ArcMap via our ArcGIS 10 Desktop AddIn? The AddIn is built using the ArcObjects SDK for C#/.NET and ArcGIS 10. Pulling and rendering map tiles is NOT the AddIn's primary function. But we would definitely like to implement this feature if it can be done. More specifics: ...

Creating Google Maps' interface in Dojo

I am trying to use the ArcGIS 2.1 JS API to create a custom interface that looks similar to Google Maps. What is confusing me (particularly with Dojo's layout scheme) is how Google Maps has a map pane that extends the whole width of the page and has a left search results panel that seems to be floating above the map pane. How does this...

Adding Values to an Array and getting distinct values using Python

Hello All- I have python code below that will loop through a table and print out values within a particular column. What is not shown is the form in which the user selects a Feature Layer. Once the Feature Layer is selected a second Dropdown is populated with all the Column Headings for that Feature and the user chooses which Column t...

Adding multiple field names in ArcGIS using Python

I was wondering if anyone out there would help me with a step in my HW assignment... So far this is my python program - which does what it is supposed to. # Import system modules import sys, string, os, arcgisscripting # Create the Geoprocessor object gp = arcgisscripting.create() # Load required toolboxes... gp.AddToolbox("C:/ArcGIS...

Make a IPC call to COM object?

I have a plugin based application developing with ESRI ArcGIS Engine in C#.I have to rewrite it to a out of process plugin architecture because of 2/3G virtual memory limitation of 32-bit operating system(WindowsXP). In old source code almost every plugin call MapControl object(a COM object in ESRI ArcGIS Engine software) directly. There...

ARCGIS flex overlay floor plan png

Hi, We have floor plans of a building in the DB in PNG format. We am using arcGIS flex api. We want to build something like http://www.laudontech.com/officeplans/ How can we load my building floor plan onto the arcGIS flex map. Please let me know. Thanks, Vish. ...

How do I add a shapefile in ArcGIS via python scripting?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shape file to the current map. (And then do stuff to it, but that's another story). The best I can do so far is to add a layer file to the current map, using the following ("addLayer" is a layer file object): ...