FUNCTION  fRegionOverlapString

Returns the overlap of a given region overlapping a regionString

The parameters
  • @regionid is the region we want to intersect with
  • @regionString is the region of interest
  • @buffer is the amount the regionString is grown in arcmins.

  • Returns a string with the overlap region,
    null if input params are bad.
    regionString varchar(7500) -- the string defining the intersection SELECT * from fRegionOverlapString(1049,'CIRCLE J2000 195 2.5 100',1)

    Input and output parameters

    nametypelengthinoutpnum
    @regionidbigint8input1
    @regionStringvarchar8000input2
    @bufferfloat8input3
     varchar7500output0