changing flags on some polygones/polylines