use mimetype argument to determine projection format