Features To 3D

Open Table of Contents ToolBox Implementation
A set of three functions used to convert 2D feature classes to 3D feature classes by interpolating the Z values from a reference surface - Raster, ESRI TIN, PolygonZ TIN.

If the input feature class is of Polyline or Polygon type, additional vertices can be added to the geometries in order to fit them better to the terrain.

  • If the reference surface is a Raster, the user can specify sample distance. New vertices will be added to the geometry at the sample distance specified, then Z values will be interpolated for all vertices. If sample distance is not assigned or set to 0, no new vertices will be added - Z values will be interpolated for the original vertices only
  • If the reference surface is a TIN, the user can specify if only the original vertices to be used or new vertices to be inserted. 

Inputs:

  • A Point, Polyline or Polygon feature class
  • A reference surface - Raster, ESRI TIN or PolygonZ TIN

Outputs:

  • New PointZ, PolylineZ or PolygonZ feature class. 
  • The attributes of the input dataset are preserved.

ToolBox implementation

Command line syntax  - Three different toolbox tools available depending on the reference surface. Check the color coding for specifics.

ETS_GPFeaturesTo3DRaster <Input Dataset>  <Reference Raster> <Out Feature Class> {Sample Distance}
ETS_GPFeaturesTo3DEsriTIN <Input Dataset>  <Reference TIN> <Out Feature Class> {Vertices Only}
ETS_GPFeaturesTo3DPolygonZTIN <Input Dataset>  <Reference TIN> <Out Feature Class> {Vertices Only}

Parameters

Expression Explanation
<Input Dataset> A Point, Polyline or Polygon layer or feature class
<Reference Raster> A Raster layer or Raster dataset.
<Reference TIN> An ESRI TIN layer or dataset
<Reference TIN> A PolygonZ TIN (feature class or feature layer)
<Out Feature Class> A String - the full name of the output feature class
{Sample Distance} A Double representing the sample distance
{Vertices Only} A Boolean. If TRUE Z values will be interpolated for the existing vertices of the input features. If False new vertices will be added to the input features in the places of intersection with the TIN edges.
{Vertices Only} A Boolean. If TRUE Z values will be interpolated for the existing vertices of the input features. If False new vertices will be added to the input features in the places of intersection with the TIN edges.

Scripting syntax

ETS_GPFeaturesTo3DRaster (Input Dataset, Reference Raster, Out Feature Class, Sample Distance)

ETS_GPFeaturesTo3DEsriTIN (Input Dataset, Reference TIN, Out Feature Class, Vertices Only)

ETS_GPFeaturesTo3DPolygonZTIN (Input Dataset, Reference TIN, Out Feature Class, Vertices Only)

See the explanations above:
<> - required parameter
{} - optional parameter

 

All ESRI products mentioned are trademarks of Environmental Systems Research Institute, Inc.
Copyright: Ianko Tchoukanski