WCSImgcutout Set up
-------------------

Contact : Jayant Gupchup (gupchup@jhu.edu)

Here are some rough steps i have jotted down to have your WCSImgcutout up and running.
This document gives you a guideline of how to create the WCSImgcutout application
from the source. It assumes that you already have an ImageDatabase in place, which
has a table called FrameWCS table containing the images and the relevant WCS information
in it. 

Step 1 : Load src in VS20005 and compile.
----------------------------------------

1) cd to the Solution Folder.
2) Double click on the solution icon. This should load 2 solutions, WCSImgcutout and
Visualizer solutions. 
3) Ensure that the Visualizer references SphericalLib and SphericalHTM dlls in the
references section. If they dont, you will have to checkout those separately and
reference them.
4) You should now be ready to build your application. 
5) You might be required to allow unsafe code to run. (option in properties).

Step 2 : Setting up Web.config and IIS
---------------------------------------

1) Open WCSImgcutout\web.config 
2) Change the database key to point to your ImageDatabase. Also change the FrameWidth, 
FrameHeight, PixelsPerDegree keys appropriately as per the images.
3) Open IIS and create a new Virtual Directory (call it CutoutService, say)
4) Have the Virtual directory point to the WCSImgcutout folder.
5) Open the properties and click on the ASP .NET tab and change it to ASP 2.0
6) you should be able to see your service on http://localhost/CutoutService/