Convert 2D points to 3D


Purpose This sample converts a point shapefile that has a Z (height) attribute to a three-dimensional (3D) shapefile. It demonstrates how to read and set feature class attributes, how to set geometries to be Z aware, and how to create a new feature class.

How to use

See How to use ArcGIS samples for help running the sample.

  1. This is a command-line application. To run it, do one of the following: a) use Ant, b) execute its Java Archive (JAR) file from the command line, or c) use your integrated development environment (IDE) to compile and run it.
  2. No arguments are required to execute the application.
  3. As the application consumes the source shapefile, it prints the coordinates of each point feature. When the application has processed all of them, it creates the output shapefile and displays the location of that output file.





Additional Requirements
  • Shapefile that has a Z attribute.

Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView