Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am stumped again, this website has really helped me before so here is another shot. I am trying to copy a raster catalog from a personal geodatabase to a newly created file geodatabase but only within a certain extent. Using the script below gives me a new file geodatabase with a new raster catalog but no rasters in it. Any help is greatly appreciated!!!

# Import arcpy module
import arcpy

# Set Geoprocessing environments
arcpy.env.extent = "-119.142433995 54.1505080220001 -118.783607274 54.2814004220001"

arcpy.env.overwriteOutput = True

# Local variables:
NewGDBOutputDirectory = "C:/GDB"
InputRasterCatalog = "C:/GDB/old.mdb/oldrastercatalog"
OutputRasterCatalog= "C:/GDB/new.gdb/newrastercatalog"

# Process: Create File GDB
arcpy.CreateFileGDB_management(NewGDBOutputDirectory, "new", "CURRENT")

# Process: Copy Raster Catalog Items
arcpy.CopyRasterCatalogItems_management(InputRasterCatalog, OutputRasterCatalog, "", "0", "0", "0")
share|improve this question
Have you double-checked that the extent you are supplying is overlapping the raster catalog - and that the raster catalog is stored in a Geographic Coordinate System (i.e. lat/long)? – PolyGeo Jun 6 '13 at 23:15
can you describe your InputRasterCatalog? Does its extent line up with what you've set w/arcpy.env.extent? – Roland Jun 6 '13 at 23:30
Thanks. My Raster catalog was in UTMs. Problem solved!!! – gomapping Jun 7 '13 at 16:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.