POST
|
Dear All, I am trying to batch process the conversion of GAlayer (layer created as a output of Geostatistical analyst interpolation) to raster grid. I found this code, but I have no idea where the output of Geostatistical interpolation is stored. From the attached code my guess is it should be with a .lyr extension and I searched for the files with this extension and didn't find any files in temp directory and even in the directory where the source shape files are maintained. So two things, where the .lyr is created? and how to batch process the conversion from GAlyr to Grid? Thanks Deep # Purpose: Export a Geostatistical layer to a GRID.
# Create the Geoprocessor object.
import arcgisscripting
gp = arcgisscripting.create()
try:
# Set the input GA layer.
inputGALayer = "c:/data/Input/idw.lyr"
# Set the output grid name.
outputGrid = "out_grid"
# Set some of the parameters.
cell_size = 2
points_horiz = 1
points_vert = 1
# Check out GeoStatistical Analyst extension license.
gp.CheckOutExtension("GeoStats")
# Process: GA Layer To Grid...
gp.GALayerToGrid_ga (inputGALayer, outputGrid, cell_size, points_horiz, points_vert)
except:
# If an error occurred while running a tool, then print the messages.
print gp.GetMessages()
----------------------------------------------------------------- Deepananthan Dhanasekaran Graduate student MS Geodetic Science - Mapping and GIS The Ohio State University Columbus, OH 43210-1275 Phone: +1 614-795-0465 Web: http://bprc.osu.edu/~dhanasekaran.2/
... View more
01-05-2011
11:57 AM
|
0
|
0
|
276
|
POST
|
Hi, I guess this is what you are looking for, http://blogs.esri.com/Dev/blogs/geoprocessing/archive/2010/06/18/Automating-geostatistical-interpolation-using-template-layers.aspx Deep
... View more
01-05-2011
11:47 AM
|
0
|
0
|
141
|
POST
|
Hi Eric, I don't have ArcGIS 10, my version is 9.2. I don't clearly understand the following sentence, specifically the last part of it. "Binned points (the red dots) are generated by grouping (binning) empirical semivariogram/covariance points together using square cells that are one lag wide." What do you mean by square cells that are one lag wide? do you mean the lag width. Is there some help available stating how binning is done in Arc? Thanks Deep
... View more
08-16-2010
07:35 AM
|
0
|
0
|
891
|
POST
|
Hi, While plotting the semivariogram, we generally take the expectation of the semivariance values of each lag and then plot it (literally we will have one point per lag) ! but why do Geostatistical analyst plots many points in each lag? Also the lag distance along x axis has 10^-ve values (example h.10^-3). Is this correct? can somebody clarify this? Thanks Deep
... View more
08-05-2010
03:31 PM
|
0
|
6
|
4949
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|