FUNCTION  fHtmEq

Returns htmid of a given point from an RA and DEC in J2000

  • @ra float: J2000 right ascension in degrees
  • @dec float: J2000 right declination in degrees
  • returns htmID bigint: htmid of this point
    select dbo.fHtmEq(180,0):14843406974976 /samp>
    see also fHtmXyz
  • Input and output parameters

    nametypelengthinoutpnum
    @rafloat8input1
    @decfloat8input2
     bigint8input0