This is a variant of fGetObjFromRect (actually calls it) that takes the input parameters in a more intuitive order rather than (ra1,ra2,dec1,dec2). Assumes dec1Uses level 20 HTM. returned fields: objID bigint, -- id of the object run int NOT NULL, -- run that observed the object camcol int NOT NULL, -- camera column in run field int NOT NULL, -- field in run rerun int NOT NULL, -- software rerun that saw the object type int NOT NULL, -- type of object (see DataConstants PhotoType) cx float NOT NULL, -- xyz of object cy float NOT NULL, cz float NOT NULL, htmID bigint -- hierarchical triangular mesh ID of object sample call select * from dbo.fGetObjFromRectEq(185,0,185.1,0.1) |