|
Posted by Iain Downie on March 15, 2005, 2:38 pm
Please log in for more thread options
Dear List....(and apologies for x-posting to infosystems.gis and gis.esri)
I'm trying to write a script to do some kriging of bird abundance using
ArcGIS (acrmap 9) and automate the process so that we can produce maps for
approx 100 species in one go.
I have so far produced a 'model' using the tools available in the spatial
analyst extension that can create a kriged raster dataset at the required
output cell size. I would like to be able to process this using a batch job
by creating a list of a set of 'objects' in a directory folder and using
this list of 'objects' to process in a do loop structure in the script.
The problem I'm facing is that the location of point data that I'm using for
the interpolation is in the format of a text file and so I'm not sure how I
create the list of files (one for each species) to then use in the do loop
and thus automate the process. It seems that the help in the Arcmap manuals
is based on creating list of objects specific to the gis application (.COM?)
such as raster and feature layers. Is there any way that I can create this
list of text files that I can then call upon in the do loop? Otherwise it
means creating the layer files manually for each of the text files.
Is it also easy to be able to create a jpeg or gif image of the raster
dataset within the script so that I can automate this - add a legend, scale
etc as well and produce the final map as an standard image format/size etc.?
Any advice gratefully received - whether it is possible or not.
Thanks
Andrew
|