I have series of data in my GDB
I am running the program under VBA and what I want to do is using the data by the tool Kriging.
This is what I thought:
First, Kriging needs data that must be a point shapefile and I am getting the data out of my GDB (one point in one table but there is a lot of data)
- I get the data I need and make it in a shapefile
- I use the Kriging tool to calculate the shapefile
- I use the raster to point tool to change the raster Kriging make to a point layer
- I get the point data I want!
Here is my question:
When I get the data from the GDB (using sSQL), how to change it to a shapefile in VBA?
I have only found the page to display XY data using VBA: http://edndoc.esri.com/arcobjects/9.0/samples/tables/create_a_layer_based_on_xy_data.htm but it's can't save as shapefile!
How to save it automatically?
Is there any wrong with my steps?
If need more information please tell me!
An error occurred in the line
gp.FeatureClassToShapefile_conversion "'C:\Temp\New File Geodatabase.gdb\point'", Temp__2_
how to fix it?
in this post about my problem I fix it like follow
gp.Kriging "C:\temp\123.shp", "F30", "C:\AA\Kriging_123", "Spherical 249.101224", "250"
but this time no matter what I try it's doesn't work...