Database Configuration
----------------------

In order to make use of the WCSImgcutout application, you need to have a Database that has
WCS compliant image files. Following is the format for the Image database

1) Table called FrameWCS
2) FrameWCS should have atleast the following columns :


fieldid	nvarchar(22)	
crval1	float
crval2	float
crpix1	float
crpix2	float
cd1_1	float
cd2_2	float
cd1_2	float
cd2_1	float
Htmid	bigint
cx	float
cy	float
cz	float
width	float
height	float
ra_cent	float
dec_cent float
zoom	int	
Img	image

3) stored function fGetNearbyFrameEq, fHTMCover (see SQL Folder)
4) xp_HTM2 (http://skyserver.org/htm/)
5) SphericalHTM lib is used to create the HTM Spatial Toolkit. This will create functions such
   as fHTMLatLon (lat/lon or ra,dec to HTM id)
   (for installation see : http://taltos.pha.jhu.edu/~gyuri/HTMWeb/HtmPrimer/tut_install.html)
