Returns table with a record describing the nearest frame to (@ra,@dec) at a given @zoom level. |
ra, dec are in degrees. Zoom is a value in Frame.Zoom (0, 10, 15, 20, 30). this rountine is used by the SkyServer Web Server. returned table: Sample call to find frame nearest to 185,0 and within one arcminute of it. select * from dbo.fGetNearestFrameEq(185,0,10) |
name | type | length | inout | pnum |
@zoom | int | 4 | input | 3 |
@ra | float | 8 | input | 1 |
@dec | float | 8 | input | 2 |
a | float | 8 | output | 2 |
b | float | 8 | output | 3 |
c | float | 8 | output | 4 |
d | float | 8 | output | 5 |
e | float | 8 | output | 6 |
f | float | 8 | output | 7 |
node | float | 8 | output | 8 |
incl | float | 8 | output | 9 |
distance | float | 8 | output | 10 |
fieldID | bigint | 8 | output | 1 |