don't throw for OGR layers with no features - refs #2260 #2352 #2354