Copy of fuerte map_server with modifications to allow using gradient maps