`extent` should be `polygon`