OGR ids and spatial queries