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 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.
Published date: 05/24/2022
Last modified date: 02/24/2022