fix gis controller to generate aggregate results.