Maps > Map Projections > Projecting Data: An Example > Running the Example Application
 
Running the Example Application
The example is commented, part by part, then printed as a whole in the section The Complete Example.
The code of this application is supplied in the file <installdir>/samples/maps/userman/src/useproj.cpp which you can compile to run the application.
To compile the example:
4. Go to the directory <installdir>/samples/maps/userman/<platform>.
5. Set the ILVHOME variable to the Rogue Wave® Views installation directory.
6. Compile using make (on UNIX® systems) or nmake (on Microsoft® Windows® systems). This will compile all the samples for this User’s Manual.
7. Launch the useproj application.
The program output is the following:
The projection of 45W 30N is
x = -5003769 m
y = 3499627 m
The inverse projection is
45DW 30DN
The following sections explain the code in useproj.cpp.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.