Transform 2D


Purpose
This sample demonstrates how to use the Transform method on ITransform2D to perform a geographic transformation for a collection of points (latitude and longitude) from OSGB1936to WGS1984. The ISpatialReferenceFactory interface is used to create a suitable geographic transformation object that implements the IGeocentricTranslation interface. The ITransform2D interface is QI'd directly from the points collection.

How to use

See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Run the application.
  2. Examine output.


Download the files for Java
geometry/Transform2D.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView ArcView