18.04.2015 Views

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

ArcGIS Engine Developer Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BUILDING A COMMAND-LINE C++ APPLICATION<br />

The output slope file is created in the same<br />

directory as its parent raster file.<br />

Your end user will have the option of compiling<br />

with any supported compiler, as you did during<br />

this scenario.<br />

DEPLOYMENT<br />

The final part of the development process is your application’s successful deployment<br />

to an end user’s machine. Doing so requires the following:<br />

• An installation of <strong>ArcGIS</strong> <strong>Engine</strong> Runtime with Spatial extension on the user<br />

machine.<br />

• The user’s machine will need to have its <strong>ArcGIS</strong> <strong>Engine</strong> Runtime initialized.<br />

• A copy of the application’s executable, created at compile time, residing on<br />

the end user’s machine.<br />

Once these requirements are in place, your end user will be able to create a slope<br />

file for any dataset just by typing the following at the command line:<br />

RasterSlope <br />

where inputRaster is the full path (including filename) to the raster datafile and<br />

outputRaster is the name of the output slope file to be created.<br />

Alternatively, your end user can use the nmake utility to run the sample. To do so,<br />

an appropriate makefile with the correct arguments must be made and the following<br />

entered at the command line:<br />

nmake /f Makefile.Windows run<br />

ADDITIONAL RESOURCES<br />

The following resources may help you understand and apply the concepts and<br />

techniques presented in this scenario.<br />

• Additional documentation available in the <strong>ArcGIS</strong> <strong>Engine</strong> <strong>Developer</strong> Kit<br />

including <strong>ArcGIS</strong> <strong>Developer</strong> Help, component help, object model diagrams,<br />

and samples to help you get started.<br />

• <strong>ArcGIS</strong> <strong>Developer</strong> Online—Web site providing the most up-to-date information<br />

for <strong>ArcGIS</strong> developers including updated samples and technical documents.<br />

Go to http://arcgisdeveloperonline.esri.com.<br />

• ESRI online discussion forums—Web sites providing invaluable assistance<br />

from other <strong>ArcGIS</strong> developers. Go to http://support.esri.com and click the User<br />

Forums tab.<br />

• Burrough, Peter A., and Rachel A. McDonnell. Principles of Geographical Information<br />

Systems. Oxford University Press. 1998.<br />

440 • <strong>ArcGIS</strong> <strong>Engine</strong> <strong>Developer</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!