AnsweredAssumed Answered

Create TIN from layers Inputs

Question asked by rhyck.m on Feb 11, 2016

I am struggling on the parameters for Creating a TIN. I have two layers as Input .

here is what I am trying to accomplish but no luck. I am using C#:

 

   // 1. Create Tin
                    // CreateTin_3d (out_tin, {spatial_reference}, {in_features}, {constrained_delaunay})
                    CreateTin createTin = new CreateTin();
                    createTin.out_tin = string.Format("{0}{1}", "C:/FloodPlainMapping/WorkSpace01/", fieldName + "_tin");
                    createTin.spatial_reference = "PROJCS['NAD_1983_CORS96_StatePlane_Ohio_North_FIPS_3401_Ft_US',GEOGCS['GCS_NAD_1983_CORS96',DATUM['D_NAD_1983_CORS96',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Lambert_Conformal_Conic'],PARAMETER['False_Easting',1968500.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-82.5],PARAMETER['Standard_Parallel_1',40.43333333333333],PARAMETER['Standard_Parallel_2',41.7],PARAMETER['Latitude_Of_Origin',39.66666666666666],UNIT['Foot_US',0.3048006096012192]]";
                    createTin.in_features = string.Format("{0} {1} Hard_Line <None>; {2} <None> Soft_Clip <None>", fcLayerLinesIN, fieldName, fcLayerPolyIN);
                    createTin.constrained_delaunay = "DELAUNAY";

Outcomes