Analysis of the photoproduction of positive pions