@RequestMapping(method = RequestMethod.GET) public @ResponseBody Geometry get( BoundingBox boundingBox, SearchConfig searchConfig, HttpServletRequest request) throws Exception { searchConfig.setUseOverpass(request.getParameter("useOverpass")); searchConfig.setWithoutSurface(request.getParameter("withoutSurface")); searchConfig.setAllTracks(request.getParameter("allTracks")); searchConfig.setShowBuildings(request.getParameter("showBuildings")); return downloadService.downloadData(boundingBox, searchConfig); }