Dear Steve Lynch,
I am also got the same error in 10.5 & 10.5.1 version, but same code work in 10.2, please suggest updated version where successfully work Topo To Raster By File.
Please post a copy of your input file that your are passing into TopoToRasterByFile.
POINT C:\imd\StormDesign\Shape File\oneday\Storm1924_07_25.shp Rain_mmENFORCE ONDATATYPE SPOTITERATIONS 20ROUGHNESS_PENALTY 0.5PROFILE_PENALTY 0DISCRETE_ERROR_FACTOR 1VERTICAL_STANDARD_ERROR 0TOLERANCES 1 200EXTENT 73.6862502421338 10.5387502179194 79.5412502421338 16.5029168845861CELL_SIZE 0.00608MARGIN 20
This is the file content and the file extension is .ASC
Please
- try it using a path and filename without spaces
- if you paste this path and filename into TopoToRaster, does it work?
- what is the exact error?
Dear Sir,
When i try the same in Topo to Raster by File in 10.5.1 without space, then i got a error as following :
L-Error - Message :
System.Runtime.InteropServices.COMException (0x80041098): ERROR 010092: Invalid output extent. at ESRI.ArcGIS.GeoAnalyst.IInterpolationOp3.TopoToRasterByFile(String paramFile, IFeatureClass& outStream, IFeatureClass& outSink) at Storm_design.frmDesignStorm.tptoRContour2(String inparam, String pointpath, String pointfield, Double dInterval, Double[] extent) in c:\.............cs:line 11784
Please find the attached file.
Please help on this,
Thanks for support
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.