code: function(terria) {
    CatalogFunction.call(this, terria);
  
    this.url = undefined;
    this.name = "Regions like this";
    this.description =
      "Identifies regions that are _most like_ a given region according to a given set of characteristics.";
  
    this._regionTypeParameter = new RegionTypeParameter({
      terria: this.terria,
      catalogFunction: this,
      id: "regionType",
      name: "Region Type",
      description: "The type of region to analyze."
    });
  
    this._regionParameter = new RegionParameter({
      terria: this.terria,
      catalogFunction: this,
      id: "region",
      name: "Region",
      description:
        "The region to analyze.  The analysis will determine which regions are most similar to this one.",
      regionProvider: this._regionTypeParameter
    });
  
    this._dataParameter = new RegionDataParameter({
      terria: this.terria,
      catalogFunction: this,
      id: "data",
      name: "Characteristics",
      description: "The region characteristics to include in the analysis.",
      regionProvider: this._regionTypeParameter
    });
  
    this._parameters = [
      this._regionTypeParameter,
      this._regionParameter,
      this._dataParameter
    ];
  }
docs: A Terria Spatial Inference function to identify regions that are _most like_ a given region according to a
  given set of characteristics.
  
  @alias PlacesLikeMeCatalogfunction
  @constructor
  @extends CatalogFunction
  
  @param {Terria} terria The Terria instance.